X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28be2e8a170979d476a5ea4f585505b8a2f5af27..49e399d8c0f2683a885bfec77e43cfde3b2249f4:/src/generic/statusbr.cpp diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index dbd35b40f8..d661b1be08 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -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 ++ )