]> git.saurik.com Git - wxWidgets.git/commitdiff
Set/GetTitle out of wxWindowBase, forked and put to gtk/window.h and mgl/window.h...
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 2 Aug 2001 23:46:38 +0000 (23:46 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 2 Aug 2001 23:46:38 +0000 (23:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mgl/window.h

index bb3e2792b64c4276791c04bbc83bad0df63363a3..d507ca36894fadabd825ee54945474a022f134c3 100644 (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
     // --------------------------
 
 protected:
 
     // 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 window handle
     struct window_t      *m_wnd;
     // whether there should be wxEraseEvent before wxPaintEvent or not