#pragma interface "font.h"
#endif
+class wxXFont;
+
// Font
class wxFont : public wxFontBase
{
(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,
// 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,