miniframe default style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -425,6 +425,14 @@ public:
|
|||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
%newgroup
|
%newgroup
|
||||||
|
|
||||||
|
%{
|
||||||
|
#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
|
||||||
|
%}
|
||||||
|
|
||||||
|
enum {
|
||||||
|
wxDEFAULT_MINIFRAME_STYLE
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
MustHaveApp(wxMiniFrame);
|
MustHaveApp(wxMiniFrame);
|
||||||
|
|
||||||
@@ -439,7 +447,7 @@ public:
|
|||||||
const wxString& title = wxPyEmptyString,
|
const wxString& title = wxPyEmptyString,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxDEFAULT_FRAME_STYLE,
|
long style = wxDEFAULT_MINIFRAME_STYLE,
|
||||||
const wxString& name = wxPyFrameNameStr);
|
const wxString& name = wxPyFrameNameStr);
|
||||||
%RenameCtor(PreMiniFrame, wxMiniFrame());
|
%RenameCtor(PreMiniFrame, wxMiniFrame());
|
||||||
|
|
||||||
@@ -448,7 +456,7 @@ public:
|
|||||||
const wxString& title = wxPyEmptyString,
|
const wxString& title = wxPyEmptyString,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxDEFAULT_FRAME_STYLE,
|
long style = wxDEFAULT_MINIFRAME_STYLE,
|
||||||
const wxString& name = wxPyFrameNameStr);
|
const wxString& name = wxPyFrameNameStr);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user