X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/univ/frame.h?ds=sidebyside diff --git a/include/wx/univ/frame.h b/include/wx/univ/frame.h index 1335647d82..207bf0d6b0 100644 --- a/include/wx/univ/frame.h +++ b/include/wx/univ/frame.h @@ -16,7 +16,7 @@ // wxFrame // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxFrame : public wxFrameBase +class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase { public: wxFrame() {} @@ -44,7 +44,7 @@ public: #if wxUSE_STATUSBAR virtual wxStatusBar* CreateStatusBar(int number = 1, - long style = wxST_SIZEGRIP, + long style = wxSTB_DEFAULT_STYLE, wxWindowID id = 0, const wxString& name = wxStatusLineNameStr); #endif // wxUSE_STATUSBAR @@ -56,11 +56,7 @@ public: const wxString& name = wxToolBarNameStr); #endif // wxUSE_TOOLBAR - virtual int GetMinWidth() const; - virtual int GetMinHeight() const; - - // sends wxSizeEvent to itself (used after attaching xxxBar) - virtual void SendSizeEvent(); + virtual wxSize GetMinSize() const; protected: void OnSize(wxSizeEvent& event);