X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e766c8a9ad51ecf73e8f1641992f1007ee9e5e0a..857dab7dcd7cb95dfabbe63761064b8dc949a5ef:/include/wx/mac/frame.h diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index 4a691898ab..39498bd06b 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: frame.h -// Purpose: wxFrameMac class +// Purpose: wxFrame class // Author: AUTHOR // Modified by: // Created: ??/??/98 @@ -28,14 +28,12 @@ class WXDLLEXPORT wxMenuBar; class WXDLLEXPORT wxStatusBar; class WXDLLEXPORT wxMacToolTip ; -class WXDLLEXPORT wxFrameMac: public wxFrameBase { - - DECLARE_DYNAMIC_CLASS(wxFrameMac) - +class WXDLLEXPORT wxFrame: public wxFrameBase +{ public: // construction - wxFrameMac() { Init(); } - wxFrameMac(wxWindow *parent, + wxFrame() { Init(); } + wxFrame(wxWindow *parent, wxWindowID id, const wxString& title, const wxPoint& pos = wxDefaultPosition, @@ -56,16 +54,7 @@ public: long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxFrameNameStr); - virtual ~wxFrameMac(); - - // implement base class pure virtuals - virtual void Maximize(bool maximize = TRUE); - virtual bool IsMaximized() const; - virtual void Iconize(bool iconize = TRUE); - virtual bool IsIconized() const; - virtual void Restore(); - virtual void SetMenuBar(wxMenuBar *menubar); - virtual void SetIcon(const wxIcon& icon); + virtual ~wxFrame(); // implementation only from now on // ------------------------------- @@ -121,7 +110,6 @@ protected: virtual void DoSetClientSize(int width, int height); protected: - bool m_iconized; #if wxUSE_STATUSBAR static bool m_useNativeStatusBar; #endif // wxUSE_STATUSBAR @@ -130,6 +118,7 @@ protected: private: DECLARE_EVENT_TABLE() + DECLARE_DYNAMIC_CLASS(wxFrame) }; #endif