// implement base class (pure) virtual methods
// -------------------------------------------
+ virtual void SetTitle( const wxString& title ) { m_title = title; }
+ virtual wxString GetTitle() const { return m_title; }
+
virtual bool Destroy();
virtual void Raise();
// wxMDIFrame, wxNotebook etc. this is the callback that will get used.
wxInsertChildFunction m_insertCallback;
+ // the window label
+ wxString m_title;
+
// implement the base class pure virtuals
virtual void DoClientToScreen( int *x, int *y ) const;
virtual void DoScreenToClient( int *x, int *y ) const;
// implement base class (pure) virtual methods
// -------------------------------------------
+ virtual void SetTitle( const wxString& title ) { m_title = title; }
+ virtual wxString GetTitle() const { return m_title; }
+
virtual bool Destroy();
virtual void Raise();
// wxMDIFrame, wxNotebook etc. this is the callback that will get used.
wxInsertChildFunction m_insertCallback;
+ // the window label
+ wxString m_title;
+
// implement the base class pure virtuals
virtual void DoClientToScreen( int *x, int *y ) const;
virtual void DoScreenToClient( int *x, int *y ) const;
// the title (or label, see below) of the window: the text which the
// window shows
- virtual void SetTitle( const wxString& title ) { m_title = title; }
- virtual wxString GetTitle() const { return m_title; }
+ virtual void SetTitle( const wxString& title ) = 0;
+ virtual wxString GetTitle() const = 0;
// label is just the same as the title (but for, e.g., buttons it
// makes more sense to speak about labels)
// its siblings unless it is -1
wxWindowID m_windowId;
- // the window label
- wxString m_title;
-
// the parent window of this window (or NULL) and the list of the children
// of this window
wxWindow *m_parent;