]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dcpsg.cpp
workaround for MGL's weirdness: won't render rectangles of w=1 or h=1
[wxWidgets.git] / src / generic / dcpsg.cpp
index 7468a61881b90e72bf86e799e03a83b21e293aa3..6443e193edf6a046ec88774f8a38ecee0ccb49ab 100644 (file)
@@ -1957,7 +1957,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
         lastStyle =  Style;
         lastWeight = Weight;
 
-        char *name = (char*) NULL;
+        const char *name = NULL;
 
         switch (Family)
         {