X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..c17b2e31516424a77fd54b8fc192eac133269ce4:/src/gtk1/dcclient.cpp?ds=inline diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index b326e0d152..c344069423 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -18,17 +18,16 @@ #ifndef WX_PRECOMP #include "wx/log.h" + #include "wx/dcmemory.h" + #include "wx/math.h" // for floating-point functions + #include "wx/image.h" + #include "wx/module.h" #endif -#include "wx/dcmemory.h" -#include "wx/image.h" -#include "wx/module.h" #include "wx/fontutil.h" #include "wx/gtk1/win_gtk.h" -#include "wx/math.h" // for floating-point functions - #include #include #include @@ -1607,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;