default style for statusbars varies by platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -544,6 +544,13 @@ enum {
|
||||
};
|
||||
|
||||
|
||||
#ifdef __WXGTK__
|
||||
#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE
|
||||
#else
|
||||
#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
enum wxGeometryCentre
|
||||
{
|
||||
|
@@ -22,6 +22,7 @@
|
||||
%newgroup;
|
||||
|
||||
|
||||
|
||||
// wxStatusBar: a window near the bottom of the frame used for status info
|
||||
class wxStatusBar : public wxWindow
|
||||
{
|
||||
@@ -30,7 +31,7 @@ public:
|
||||
%pythonAppend wxStatusBar() ""
|
||||
|
||||
wxStatusBar(wxWindow* parent, wxWindowID id = -1,
|
||||
long style = wxST_SIZEGRIP,
|
||||
long style = wxDEFAULT_STATUSBAR_STYLE,
|
||||
const wxString& name = wxPyStatusLineNameStr);
|
||||
%name(PreStatusBar)wxStatusBar();
|
||||
|
||||
|
@@ -156,7 +156,7 @@ public:
|
||||
|
||||
// create the main status bar by calling OnCreateStatusBar()
|
||||
virtual wxStatusBar* CreateStatusBar(int number = 1,
|
||||
long style = wxST_SIZEGRIP,
|
||||
long style = wxDEFAULT_STATUSBAR_STYLE,
|
||||
wxWindowID winid = 0,
|
||||
const wxString& name = wxPyStatusLineNameStr);
|
||||
// TODO: with directors?
|
||||
|
Reference in New Issue
Block a user