]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/statusbar.h
Remove duplicated control names strings declarations from wxOSX.
[wxWidgets.git] / include / wx / msw / statusbar.h
index 14e65d47af2d13c22287e640f0ccff84775529ad..60eaf7d7fcf69168299961aeeef72531b291e9e0 100644 (file)
@@ -62,6 +62,7 @@ protected:
     virtual void DoUpdateStatusText(int number);
 
     // override some base class virtuals
+    virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const;
     virtual wxSize DoGetBestSize() const;
     virtual void DoMoveWindow(int x, int y, int width, int height);
 #if wxUSE_TOOLTIPS
@@ -79,6 +80,28 @@ protected:
     wxVector<wxToolTip*> m_tooltips;
 
 private:
+    struct MSWBorders
+    {
+        int horz,
+            vert,
+            between;
+    };
+
+    // retrieve all status bar borders using SB_GETBORDERS
+    MSWBorders MSWGetBorders() const;
+
+    // return the size of the border between the fields
+    int MSWGetBorderWidth() const;
+
+    struct MSWMetrics
+    {
+        int gripWidth,
+            textMargin;
+    };
+
+    // return the various status bar metrics
+    static const MSWMetrics& MSWGetMetrics();
+
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBar)
 };