]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/statusbar.h
disable wxGC for Borland as it can't compiler the macros used in msw/gdiplus.cpp
[wxWidgets.git] / include / wx / msw / statusbar.h
index 55a1f16c83ab060bce03c3ea3148451f0f9e8747..8e6d7b7c0b53e9b6cede74c5ce3b3874386cca21 100644 (file)
@@ -14,7 +14,7 @@
 
 #if wxUSE_NATIVE_STATUSBAR
 
-class WXDLLIMPEXP_CORE wxClientDC;
+class WXDLLIMPEXP_FWD_CORE wxClientDC;
 
 class WXDLLIMPEXP_CORE wxStatusBar : public wxStatusBarBase
 {
@@ -23,15 +23,16 @@ public:
     wxStatusBar();
     wxStatusBar(wxWindow *parent,
                 wxWindowID id = wxID_ANY,
-                long style = wxST_SIZEGRIP,
+                long style = wxSTB_DEFAULT_STYLE,
                 const wxString& name = wxStatusBarNameStr)
     {
+        m_pDC = NULL;
         (void)Create(parent, id, style, name);
     }
 
     bool Create(wxWindow *parent,
                 wxWindowID id = wxID_ANY,
-                long style = wxST_SIZEGRIP,
+                long style = wxSTB_DEFAULT_STYLE,
                 const wxString& name = wxStatusBarNameStr);
 
     virtual ~wxStatusBar();