]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/statbr95.h
take the address of the member in wxON_BLOCK_EXIT_OBJ macros
[wxWidgets.git] / include / wx / msw / statbr95.h
index fa5866e19b21b0247d404ae75fe90d8772dd2189..980a919feb8ccad30532d5d92b2cf5ba343b24bc 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef   _STATBR95_H
 #define   _STATBR95_H
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "statbr95.h"
 #endif
 
@@ -24,7 +24,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 +32,7 @@ public:
     }
 
     bool Create(wxWindow *parent,
-                wxWindowID id = -1,
+                wxWindowID id = wxID_ANY,
                 long style = wxST_SIZEGRIP,
                 const wxString& name = wxEmptyString);
 
@@ -48,6 +48,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);