]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcclient.cpp
use wxCopyRectToRECT() instead of duplicating its code (patch 1707294)
[wxWidgets.git] / src / motif / dcclient.cpp
index 56ad7af018602f9c6b21205b7055d8caf1d3be56..fa5f8beb8951f706b01d45e2c34971b670f88b52 100644 (file)
@@ -1297,7 +1297,7 @@ bool wxWindowDC::CanGetTextExtent() const
 
 void wxWindowDC::DoGetTextExtent( const wxString &string, wxCoord *width, wxCoord *height,
                                 wxCoord *descent, wxCoord *externalLeading,
-                                wxFont *font ) const
+                                const wxFont *font ) const
 {
     wxCHECK_RET( Ok(), "invalid dc" );