// 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();
// 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();
// 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;
virtual WXWidget GetHandle() const { return m_wnd; }
- virtual void SetTitle(const wxString& title) { m_title = title; }
- virtual wxString GetTitle() const { return m_title; }
-
// implementation from now on
// --------------------------
protected:
- wxString m_title;
// the window handle
struct window_t *m_wnd;
// whether there should be wxEraseEvent before wxPaintEvent or not
// the title (or label, see below) of the window: the text which the
// window shows
- virtual void SetTitle( const wxString& title ) = 0;
- virtual wxString GetTitle() const = 0;
+ virtual void SetTitle( const wxString& WXUNUSED(title) ) {}
+ virtual wxString GetTitle() const { return wxEmptyString; }
// label is just the same as the title (but for, e.g., buttons it
// makes more sense to speak about labels)