]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/toplevel.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / osx / toplevel.h
index 58c8b19dc2314f8e7410b9f52838f7d65b7f34a3..73b218fe75bb0f63dedad8786ec832bdd742ed93 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     20.09.01
-// RCS-ID:      $Id$
 // Copyright:   (c) 2001 Stefan Csomor
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -74,6 +73,9 @@ public:
     virtual void SetTitle( const wxString& title);
     virtual wxString GetTitle() const;
 
+    virtual void SetLabel(const wxString& label) { SetTitle( label ); }
+    virtual wxString GetLabel() const            { return GetTitle(); }
+    
     virtual void OSXSetModified(bool modified);
     virtual bool OSXIsModified() const;