]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
use GetFileAttributes() to check for readonly files under Win9x, the NT method doesn...
[wxWidgets.git] / src / generic / statusbr.cpp
index ea0ce7e59dca6b8e119153465dcf2f640bbcfa38..7e9e7791ff67582fd845ec2b14eeb388e01bd5b6 100644 (file)
@@ -239,7 +239,7 @@ void wxStatusBarGeneric::OnPaint(wxPaintEvent& WXUNUSED(event) )
     if (GetFont().Ok())
         dc.SetFont(GetFont());
 
-    dc.SetBackgroundMode(wxTRANSPARENT);
+    dc.SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT);
 
     for (int i = 0; i < m_nFields; i ++)
         DrawField(dc, i);