]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
Removed some superflous #defines already added by plaform.h, simplified a bit
[wxWidgets.git] / src / msw / font.cpp
index 4cd6532a0c4a4838c8f867503df0fec05c4a5588..f29b9a4aeafd5c067b639d2fd72ea24befa78e89 100644 (file)
@@ -742,9 +742,9 @@ bool wxFont::FreeResource(bool WXUNUSED(force))
     return FALSE;
 }
 
-WXHANDLE wxFont::GetResourceHandle()
+WXHANDLE wxFont::GetResourceHandle() const
 {
-    return GetHFONT();
+    return (WXHANDLE)GetHFONT();
 }
 
 WXHFONT wxFont::GetHFONT() const
@@ -839,7 +839,7 @@ void wxFont::SetEncoding(wxFontEncoding encoding)
     RealizeResource();
 }
 
-void wxFont::SetNativeFontInfo(const wxNativeFontInfo& info)
+void wxFont::DoSetNativeFontInfo(const wxNativeFontInfo& info)
 {
     Unshare();