X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93ccaed86983970c4a2aa5af34593781e5b8964f..a264ece2c5b95171a222f37b856df9af2577f3bf:/include/wx/motif/font.h diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index 906bc2462a..1f086068cf 100644 --- a/include/wx/motif/font.h +++ b/include/wx/motif/font.h @@ -16,6 +16,8 @@ #pragma interface "font.h" #endif +class wxXFont; + // Font class wxFont : public wxFontBase { @@ -37,6 +39,8 @@ public: (void)Create(size, family, style, weight, underlined, face, encoding); } + wxFont(const wxNativeFontInfo& info); + bool Create(int size, int family, int style, @@ -81,8 +85,8 @@ public: // of the fonts and a mapping file. // Return font struct, and optionally the Motif font list - class wxXFont* GetInternalFont(double scale = 1.0, - WXDisplay* display = NULL) const; + wxXFont *GetInternalFont(double scale = 1.0, + WXDisplay* display = NULL) const; // These two are helper functions for convenient access of the above. WXFontStructPtr GetFontStruct(double scale = 1.0,