]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcclient.cpp
we don't need status bar in the MDI children
[wxWidgets.git] / src / gtk1 / dcclient.cpp
index 6dd1e9f48d671f3997a957bd502d4c5f5d08207f..c344069423c54e1e298a1803d56c9d7e3ed0c3f4 100644 (file)
@@ -21,9 +21,9 @@
     #include "wx/dcmemory.h"
     #include "wx/math.h" // for floating-point functions
     #include "wx/image.h"
+    #include "wx/module.h"
 #endif
 
-#include "wx/module.h"
 #include "wx/fontutil.h"
 
 #include "wx/gtk1/win_gtk.h"
@@ -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;