]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
*** empty log message ***
[wxWidgets.git] / src / generic / statusbr.cpp
index de2d7df9409606f07be7060d89a7043564d2abed..ac3656e4331cd5aa3b2304339d2fe485405554cf 100644 (file)
 #include "wx/dcclient.h"
 #endif
 
-#include "wx/generic/statusbr.h"
+#include "wx/statusbr.h"
 
-#ifdef __WXMSW__
-#include <windows.h>
-#include "wx/msw/winundef.h"
-#endif
+// with wxUSE_NATIVE_STATUSBAR it is not included from wx/statusbr.h
+#include "wx/generic/statusbr.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxStatusBarGeneric, wxWindow)
 
@@ -98,7 +96,7 @@ bool wxStatusBarGeneric::Create(wxWindow *parent,
   return success;
 }
 
-void wxStatusBarGeneric::SetFieldsCount(int number, const int widths[])
+void wxStatusBarGeneric::SetFieldsCount(int number, const int *widths)
 {
   m_nFields = number;