X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a12b404f849a8ce2d28290899379a1f934a9af1..012409e9ef464462a096344d61119d783b77865d:/include/wx/frame.h diff --git a/include/wx/frame.h b/include/wx/frame.h index 7277261c83..4d68e89032 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -294,8 +294,52 @@ protected: #include "wx/qt/frame.h" #elif defined(__WXMAC__) #include "wx/mac/frame.h" + #ifndef __WXUNIVERSAL__ + + class WXDLLEXPORT wxFrame : public wxFrameMac + { + public: + // construction + wxFrame() { Init(); } + wxFrame(wxWindow *parent, + wxWindowID id, + const wxString& title, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxDEFAULT_FRAME_STYLE, + const wxString& name = wxFrameNameStr) + { + Init(); + Create(parent, id, title, pos, size, style, name); + } + DECLARE_DYNAMIC_CLASS(wxFrame) + }; + + #endif #elif defined(__WXPM__) #include "wx/os2/frame.h" + #ifndef __WXUNIVERSAL__ + + class WXDLLEXPORT wxFrame : public wxFrameOS2 + { + public: + // construction + wxFrame() { Init(); } + wxFrame(wxWindow *parent, + wxWindowID id, + const wxString& title, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxDEFAULT_FRAME_STYLE, + const wxString& name = wxFrameNameStr) + { + Init(); + Create(parent, id, title, pos, size, style, name); + } + DECLARE_DYNAMIC_CLASS(wxFrame) + }; + #endif + #elif defined(__WXSTUBS__) #include "wx/stubs/frame.h" #endif