X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93ccaed86983970c4a2aa5af34593781e5b8964f..af01f1ba0d697c07173f436ab661b4c833258a91:/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,