]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/renderg.cpp
quote the arguments containing spaces or quotes correctly in wxExecute(char **) overl...
[wxWidgets.git] / src / generic / renderg.cpp
index b5080a4d22bc8489ab5a31690d9c1a1f18bd194a..5ad90db583eccaa25daf9cd5cb9e098753866924 100644 (file)
@@ -38,7 +38,7 @@
 #include "wx/dcmirror.h"
 
 #ifdef __WXMAC__
-    #include "wx/mac/private.h"
+    #include "wx/osx/private.h"
 #endif
 
 // ----------------------------------------------------------------------------
@@ -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);