- wxFont() { Init(); }
- wxFont(const wxFont& rFont) { Init(); Ref(rFont); }
-
- wxFont( int nSize
- ,int nFamily
- ,int nStyle
- ,int nWeight
- ,bool bUnderlined = FALSE
- ,const wxString& rsFace = wxEmptyString
- ,wxFontEncoding vEncoding = wxFONTENCODING_DEFAULT
- )
+ wxFont() { }
+
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+ wxFont(int size,
+ int family,
+ int style,
+ int weight,
+ bool underlined = false,
+ const wxString& face = wxEmptyString,
+ wxFontEncoding encoding = wxFONTENCODING_DEFAULT)
+ {
+ (void)Create(size, (wxFontFamily)family, (wxFontStyle)style, (wxFontWeight)weight, underlined, face, encoding);
+ }
+#endif
+
+ wxFont(int size,
+ wxFontFamily family,
+ wxFontStyle style,
+ wxFontWeight weight,
+ bool underlined = false,
+ const wxString& face = wxEmptyString,
+ wxFontEncoding encoding = wxFONTENCODING_DEFAULT)