X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b48f51ca745c5d3dfd704947812bbea90a44a1eb..0f11c2334567bd440bb2676f43d3376badc921f2:/include/wx/univ/toplevel.h diff --git a/include/wx/univ/toplevel.h b/include/wx/univ/toplevel.h index 17681cfd9a..3ab4c58d32 100644 --- a/include/wx/univ/toplevel.h +++ b/include/wx/univ/toplevel.h @@ -122,7 +122,7 @@ public: // decorations anyhow and that by default native decorations are used // // if UseNativeDecorations() is used, it must be called before Create() - static UseNativeDecorationsByDefault(bool native = true); + static void UseNativeDecorationsByDefault(bool native = true); void UseNativeDecorations(bool native = true); bool IsUsingNativeDecorations() const; @@ -152,8 +152,7 @@ public: // move/resize the frame interactively, i.e. let the user do it virtual void InteractiveMove(int flags = wxINTERACTIVE_MOVE); - virtual int GetMinWidth() const; - virtual int GetMinHeight() const; + virtual wxSize GetMinSize() const; virtual wxWindow *GetInputWindow() const { return wx_const_cast(wxTopLevelWindow*, this); }