]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/renderg.cpp
no real changes but replace manual calls to Set{Text,Bk}Color() with matching calls...
[wxWidgets.git] / src / generic / renderg.cpp
index b5080a4d22bc8489ab5a31690d9c1a1f18bd194a..16915dc55f70f91322891ee027faea9204474184 100644 (file)
@@ -333,7 +333,7 @@ wxRendererGeneric::DrawHeaderButtonContents(wxWindow *win,
 
         dc.SetFont(font);
         dc.SetTextForeground(clr);
-        dc.SetBackgroundMode(wxTRANSPARENT);
+        dc.SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT);
 
         int tw, th, td, x, y;
         dc.GetTextExtent( label, &tw, &th, &td);