]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
added wxSplitFile() to decompose a file name into path + name + ext
[wxWidgets.git] / src / generic / statusbr.cpp
index 2f5c66c8f09597ab7068718f52ab59250062fd33..5e2d82f92b33a1dba32d76aa80f2e9c46ae420ef 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "wx/generic/statusbr.h"
 
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
 #include <windows.h>
 
 #ifdef DrawText
@@ -123,7 +123,7 @@ void wxStatusBar::SetStatusText(const wxString& text, int number)
 
   Refresh();
 
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
   // For some reason, this can cause major GDI problems - graphics
   // all over the place. E.g. in print previewing.
 //  ::UpdateWindow((HWND) GetHWND());