]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/font.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / os2 / font.h
index bdbe4002c410ccecc45029a59048b7a04ca4806a..a40017aec141e9f961d80a80644acdd95a88b9b4 100644 (file)
@@ -43,19 +43,7 @@ public:
         (void)Create(nSize, nFamily, nStyle, nWeight, bUnderlined, rsFace, vEncoding);
     }
 
-    wxFont(const wxNativeFontInfo& rInfo)
-    {
-        Init();
-
-        (void)Create( rInfo.pointSize
-                     ,rInfo.family
-                     ,rInfo.style
-                     ,rInfo.weight
-                     ,rInfo.underlined
-                     ,rInfo.faceName
-                     ,rInfo.encoding
-                    );
-    }
+    wxFont(const wxNativeFontInfo& rInfo);
 
     bool Create( int             nSize
                 ,int             nFamily
@@ -107,6 +95,7 @@ public:
     virtual WXHANDLE GetResourceHandle(void);
     virtual bool     FreeResource(bool bForce = FALSE);
 
+    WXHFONT GetHFONT(void) const;
 protected:
     //
     // Common part of all ctors