]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/statbr95.h
added checks for more wxUSE_SVG dependencies: wxUSE_IMAGE and wxUSE_LIBPNG
[wxWidgets.git] / include / wx / msw / statbr95.h
index e611e4a00ac1f60bd6d7b63cdafb96aec8750309..3b26a1fa3adba4c9661e66bc09e57a9268741551 100644 (file)
@@ -22,7 +22,7 @@ public:
     wxStatusBar95(wxWindow *parent,
                   wxWindowID id = wxID_ANY,
                   long style = wxST_SIZEGRIP,
-                  const wxString& name = wxEmptyString)
+                  const wxString& name = wxStatusBarNameStr)
     {
         (void)Create(parent, id, style, name);
     }
@@ -30,7 +30,7 @@ public:
     bool Create(wxWindow *parent,
                 wxWindowID id = wxID_ANY,
                 long style = wxST_SIZEGRIP,
-                const wxString& name = wxEmptyString);
+                const wxString& name = wxStatusBarNameStr);
 
     virtual ~wxStatusBar95();
 
@@ -64,8 +64,9 @@ protected:
     void CopyFieldsWidth(const int widths[]);
     void SetFieldsWidth();
 
-    // override base class virtual
-    void DoMoveWindow(int x, int y, int width, int height);
+    // override some base class virtuals
+    virtual wxSize DoGetBestSize() const;
+    virtual void DoMoveWindow(int x, int y, int width, int height);
 
 private:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBar95)