]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
fixed memory allocation code of wxStreamBuffer to not realloc() new[]ed memory any...
[wxWidgets.git] / src / generic / statusbr.cpp
index dbd35b40f84bf109c5886e276e1de88b5cbff18f..d661b1be0871965f15c5c07b8a0d6e1071cac736 100644 (file)
@@ -182,7 +182,7 @@ void wxStatusBarGeneric::OnPaint(wxPaintEvent& WXUNUSED(event) )
   dc.SetBackgroundMode(wxTRANSPARENT);
 
 #ifdef __WXPM__
-  ::WinFillRect(vDC.m_hPS, &vDC.m_rclPaint, CLR_GREEN);
+  ::WinFillRect(dc.m_hPS, &dc.m_vRclPaint, CLR_GREEN);
 #endif
 
   for ( i = 0; i < m_nFields; i ++ )