X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30764ab5246a5a9876d6313607da56cf1f1909d2..77436c4cbac2269e564dc4fcf4494a58feca0af4:/include/wx/motif/font.h diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index d6aeb9e1bf..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,13 +39,7 @@ public: (void)Create(size, family, style, weight, underlined, face, encoding); } - wxFont(const wxNativeFontInfo& info) - { - Init(); - - (void)Create(info.pointSize, info.family, info.style, info.weight, - info.underlined, info.faceName, info.encoding); - } + wxFont(const wxNativeFontInfo& info); bool Create(int size, int family, @@ -89,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,