a2dWindowConnector< Twindow > Class Template Reference

a connector which holds one pointer to a wxWindow derived class being the template parameter. More...

#include <docviewref.h>

Inheritance diagram for a2dWindowConnector< Twindow >:

Inheritance graph
[legend]
Collaboration diagram for a2dWindowConnector< Twindow >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef Twindow TType

Public Member Functions

 a2dWindowConnector ()
 Constructor.
Twindow * GetDisplayWindow ()
 window used by view to display itself.
void SetDisplayWindow (Twindow *window)
 get window used by view to display itself.

Protected Attributes

Twindow * m_display


Detailed Description

template<class Twindow>
class a2dWindowConnector< Twindow >

a connector which holds one pointer to a wxWindow derived class being the template parameter.

This connector connects new views to a wxWindow derived class which must have a Setview() member.

wxEVT_POST_CREATE_VIEW is handled by a2dWindowConnector<Twindow>::OnPostCreateView(), and just sets the view to the m_display window.

Definition at line 3239 of file docviewref.h.


The documentation for this class was generated from the following file:
a2dWindowConnector< Twindow > Class Template Reference -- Tue Aug 31 18:38:22 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation