// global variables
//-----------------------------------------------------------------------------
-// extern wxFontNameDirectory wxTheFontNameDirectory; // defined below
+//extern wxFontNameDirectory *wxTheFontNameDirectory; // defined below
//-----------------------------------------------------------------------------
// wxFont
public:
wxFont(void);
wxFont( int PointSize, int FontIdOrFamily, int Style, int Weight,
- bool underlined = FALSE, const char *Face=NULL );
+ bool underlined = FALSE, const char *Face= ( const char *) NULL );
wxFont( int PointSize, const char *Face, int Family, int Style, int Weight,
bool underlined = FALSE );
wxFont( const wxFont& font );
bool GetUnderlined(void) const;
wxFont( char *xFontName );
+
+ // implementation
- private:
-
- friend wxDC;
- friend wxPaintDC;
- friend wxWindow;
-
- GdkFont* GetInternalFont(float scale = 1.0);
+ GdkFont* GetInternalFont(float scale = 1.0) const;
// no data :-)
};
int nextFontId;
};
-extern wxFontNameDirectory wxTheFontNameDirectory;
+extern wxFontNameDirectory *wxTheFontNameDirectory;
#endif // __GTKFONTH__