]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
1. some more tests in console
[wxWidgets.git] / src / generic / statusbr.cpp
index 753ff1677b7d49b6ba491e5ddee6240b30c588e0..82b90a180b937c5dd0fc6bbb9286b03a8c24d5de 100644 (file)
@@ -175,6 +175,13 @@ void wxStatusBarGeneric::OnPaint(wxPaintEvent& WXUNUSED(event) )
 {
   wxPaintDC dc(this);
 
+#ifdef __WXPM__
+    RECTL wrectl;
+
+    ::WinQueryWindowRect(GetHWND(), &wrectl);
+    ::WinFillRect(dc.GetHDC(), &wrectl, CLR_BLACK);
+#else
+
   int i;
   if ( GetFont().Ok() )
     dc.SetFont(GetFont());
@@ -186,6 +193,7 @@ void wxStatusBarGeneric::OnPaint(wxPaintEvent& WXUNUSED(event) )
 #   ifdef __WXMSW__
         dc.SetFont(wxNullFont);
 #   endif // MSW
+#endif
 }
 
 void wxStatusBarGeneric::DrawFieldText(wxDC& dc, int i)