git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26142
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+#ifdef __WXGTK__
+#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE
+#else
+#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP
+#endif
+
+
// wxStatusBar: a window near the bottom of the frame used for status info
class wxStatusBar : public wxWindow
{
// wxStatusBar: a window near the bottom of the frame used for status info
class wxStatusBar : public wxWindow
{
%pythonAppend wxStatusBar() ""
wxStatusBar(wxWindow* parent, wxWindowID id = -1,
%pythonAppend wxStatusBar() ""
wxStatusBar(wxWindow* parent, wxWindowID id = -1,
- long style = wxST_SIZEGRIP,
+ long style = wxDEFAULT_STATUSBAR_STYLE,
const wxString& name = wxPyStatusLineNameStr);
%name(PreStatusBar)wxStatusBar();
const wxString& name = wxPyStatusLineNameStr);
%name(PreStatusBar)wxStatusBar();
// create the main status bar by calling OnCreateStatusBar()
virtual wxStatusBar* CreateStatusBar(int number = 1,
// 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?
wxWindowID winid = 0,
const wxString& name = wxPyStatusLineNameStr);
// TODO: with directors?