]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dc.cpp
changed wxDC::GetTextExtent() and related methods to take const wxFont pointer, for...
[wxWidgets.git] / src / mac / carbon / dc.cpp
index fbd3f8f89a7801bc82b3a165b8b5a553d0d7a117..761ab396fdb746f710f611956055fbd348c33859 100644 (file)
@@ -1601,7 +1601,7 @@ bool wxDC::CanGetTextExtent() const
 
 void wxDC::DoGetTextExtent( const wxString &str, wxCoord *width, wxCoord *height,
                             wxCoord *descent, wxCoord *externalLeading ,
-                            wxFont *theFont ) const
+                            const wxFont *theFont ) const
 {
     wxCHECK_RET(Ok(), wxT("wxDC::DoGetTextExtent - invalid DC"));