]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/metafile.h
fixed wxString::Last() to run in O(1), not O(n), in UTF-8 build
[wxWidgets.git] / include / wx / msw / metafile.h
index 3fb6377b429b8d7f3dab70aa9425b95cc3e2c96d..de7eda41247b4de85d1d81cee1a61a184887454c 100644 (file)
@@ -90,7 +90,7 @@ public:
     virtual void SetMapMode(int mode);
     virtual void GetTextExtent(const wxString& string, long *x, long *y,
             long *descent = NULL, long *externalLeading = NULL,
-            wxFont *theFont = NULL, bool use16bit = false) const;
+            const wxFont *theFont = NULL, bool use16bit = false) const;
 
     // Implementation
     wxMetafile *GetMetaFile() const { return m_metaFile; }