]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcmirror.h
fixed wxString iterators linked list corruption
[wxWidgets.git] / include / wx / dcmirror.h
index 0bcc54fc59174850cde9a1da5b9722b5b23f663c..0a7d4301200a119bce70832f37bcf538e3b82e8e 100644 (file)
@@ -269,7 +269,7 @@ protected:
                                  wxCoord *x, wxCoord *y,
                                  wxCoord *descent = NULL,
                                  wxCoord *externalLeading = NULL,
-                                 wxFont *theFont = NULL) const
+                                 const wxFont *theFont = NULL) const
     {
         // never mirrored
         m_dc.DoGetTextExtent(string, x, y, descent, externalLeading, theFont);