X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55811cde2d57fdfe78eee3d1adcdff1ddc5cb719..54af9b8b5e0f2fcd0eb0b122c2c2de561a51be23:/wxPython/src/_toplvl.i diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index 4a95c46301..b85506b0d1 100644 --- a/wxPython/src/_toplvl.i +++ b/wxPython/src/_toplvl.i @@ -425,6 +425,14 @@ public: //--------------------------------------------------------------------------- %newgroup +%{ +#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ +%} + +enum { + wxDEFAULT_MINIFRAME_STYLE +}; + MustHaveApp(wxMiniFrame); @@ -439,7 +447,7 @@ public: const wxString& title = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDEFAULT_FRAME_STYLE, + long style = wxDEFAULT_MINIFRAME_STYLE, const wxString& name = wxPyFrameNameStr); %RenameCtor(PreMiniFrame, wxMiniFrame()); @@ -448,7 +456,7 @@ public: const wxString& title = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDEFAULT_FRAME_STYLE, + long style = wxDEFAULT_MINIFRAME_STYLE, const wxString& name = wxPyFrameNameStr); };