]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcclient.cpp
fix getting tooltip colors for GTK 2.11
[wxWidgets.git] / src / gtk1 / dcclient.cpp
index 329d62d9ebeb9988f2ba0c848c91788998b7688c..c344069423c54e1e298a1803d56c9d7e3ed0c3f4 100644 (file)
@@ -1606,7 +1606,7 @@ void wxWindowDC::DoDrawRotatedText( const wxString &text, wxCoord x, wxCoord y,
 void wxWindowDC::DoGetTextExtent(const wxString &string,
                                  wxCoord *width, wxCoord *height,
                                  wxCoord *descent, wxCoord *externalLeading,
-                                 wxFont *theFont) const
+                                 const wxFont *theFont) const
 {
     if ( width )
         *width = 0;