X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69d818954b5e6e7b4b4e5093dd26dbe2d5f8546c..015fd9ef4833ec3d8b0043a1c7e448c8be4f734a:/wxPython/src/_statusbar.i diff --git a/wxPython/src/_statusbar.i b/wxPython/src/_statusbar.i index ba4a4b92c0..0fc21a1f03 100644 --- a/wxPython/src/_statusbar.i +++ b/wxPython/src/_statusbar.i @@ -24,6 +24,7 @@ // wxStatusBar: a window near the bottom of the frame used for status info +MustHaveApp(wxStatusBar); class wxStatusBar : public wxWindow { public: @@ -35,7 +36,7 @@ public: const wxString& name = wxPyStatusLineNameStr); %name(PreStatusBar)wxStatusBar(); - bool Create(wxWindow* parent, wxWindowID id, + bool Create(wxWindow* parent, wxWindowID id=-1, long style = wxST_SIZEGRIP, const wxString& name = wxPyStatusLineNameStr); @@ -74,6 +75,9 @@ public: // get the dimensions of the horizontal and vertical borders virtual int GetBorderX() const; virtual int GetBorderY() const; + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); };