]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/statbr95.h
use focused bitmap as fallback for the hover one
[wxWidgets.git] / include / wx / msw / statbr95.h
index f6f56cfe1d065beaed50ff9d0b40a41bf665df45..889ca70aca528e615112ca65329c0d8ced533663 100644 (file)
 #ifndef   _STATBR95_H
 #define   _STATBR95_H
 
-#ifdef __GNUG__
-#pragma interface "statbr95.h"
-#endif
-
 #if wxUSE_NATIVE_STATUSBAR
 
 class WXDLLEXPORT wxStatusBar95 : public wxStatusBarBase
@@ -24,7 +20,7 @@ public:
     // ctors and such
     wxStatusBar95();
     wxStatusBar95(wxWindow *parent,
-                  wxWindowID id = -1,
+                  wxWindowID id = wxID_ANY,
                   long style = wxST_SIZEGRIP,
                   const wxString& name = wxEmptyString)
     {
@@ -32,7 +28,7 @@ public:
     }
 
     bool Create(wxWindow *parent,
-                wxWindowID id = -1,
+                wxWindowID id = wxID_ANY,
                 long style = wxST_SIZEGRIP,
                 const wxString& name = wxEmptyString);
 
@@ -48,6 +44,9 @@ public:
     // set status line fields' widths
     virtual void SetStatusWidths(int n, const int widths_field[]);
 
+    // set status line fields' styles
+    virtual void SetStatusStyles(int n, const int styles[]);
+
     // sets the minimal vertical size of the status bar
     virtual void SetMinHeight(int height);
 
@@ -65,8 +64,12 @@ protected:
     // override base class virtual
     void DoMoveWindow(int x, int y, int width, int height);
 
+    virtual WXLRESULT MSWWindowProc(WXUINT nMsg,
+                                    WXWPARAM wParam,
+                                    WXLPARAM lParam);
+
 private:
-    DECLARE_DYNAMIC_CLASS(wxStatusBar95);
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBar95)
 };
 
 #endif  // wxUSE_NATIVE_STATUSBAR