just return the min size needed by the sizer for the windows with sizers from their...
[wxWidgets.git] / src / gtk / dcclient.cpp
index 52a36301f16ab2d47c3f4fbe120bfb1bb39bdea9..3ffd2a177680f366e4843c0f02ebec54c19c62e9 100644 (file)
@@ -1719,7 +1719,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;