From: Václav Slavík Date: Thu, 2 Aug 2001 23:46:38 +0000 (+0000) Subject: Set/GetTitle out of wxWindowBase, forked and put to gtk/window.h and mgl/window.h... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a467ac36a568c8ed1c43604fd7f1f2b2d3b6efc2 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 --- diff --git a/include/wx/mgl/window.h b/include/wx/mgl/window.h index bb3e2792b6..d507ca3689 100644 --- a/include/wx/mgl/window.h +++ b/include/wx/mgl/window.h @@ -103,11 +103,14 @@ public: 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