Set/GetTitle out of wxWindowBase, forked and put to gtk/window.h and mgl/window.h (and no, we can't get rid of them completely unless Vadim stops using them in wxUniv)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-08-02 23:46:38 +00:00
parent a264ece2c5
commit a467ac36a5

View File

@ -103,11 +103,14 @@ public:
virtual WXWidget GetHandle() const { return m_wnd; } 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 // implementation from now on
// -------------------------- // --------------------------
protected: protected:
wxString m_title;
// the window handle // the window handle
struct window_t *m_wnd; struct window_t *m_wnd;
// whether there should be wxEraseEvent before wxPaintEvent or not // whether there should be wxEraseEvent before wxPaintEvent or not