]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dcclient.cpp
set labels for new controls
[wxWidgets.git] / src / x11 / dcclient.cpp
index 4ab1920f7e7fe636002f9c6480ec3ddd1311e407..cd0ed5f6a34fad0600becfdc9cf26082345c1fdd 100644 (file)
@@ -1612,7 +1612,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 *font ) const
+                                const wxFont *font ) const
 {
     wxCHECK_RET( Ok(), wxT("invalid dc") );