X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/358fc25cc3f1ad77f3d98ca9ef7debd8e128eb88..a6f989f3dbec747c6da629a32fa5cad9a554f66e:/include/wx/gtk/font.h diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index 9234d3390c..14a6533c72 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -30,14 +30,18 @@ class wxPaintDC; class wxWindow; class wxFont; +/* class wxFontNameDirectory; +*/ //----------------------------------------------------------------------------- // global variables //----------------------------------------------------------------------------- +/* extern wxFontNameDirectory *wxTheFontNameDirectory; -extern const char* wxEmptyString; +*/ +extern const wxChar* wxEmptyString; //----------------------------------------------------------------------------- // wxFont @@ -54,13 +58,12 @@ public: wxFont( const wxFont& font ); ~wxFont(); wxFont& operator = ( const wxFont& font ); - bool operator == ( const wxFont& font ); - bool operator != ( const wxFont& font ); + bool operator == ( const wxFont& font ) const; + bool operator != ( const wxFont& font ) const; bool Ok() const; int GetPointSize() const; int GetFamily() const; - int GetFontId() const; int GetStyle() const; int GetWeight() const; bool GetUnderlined() const; @@ -79,7 +82,7 @@ public: // implementation - wxFont( char *xFontName ); + wxFont( GdkFont* font, char *xFontName ); void Unshare(); GdkFont* GetInternalFont(float scale = 1.0) const; @@ -87,6 +90,7 @@ public: // no data :-) }; +/* //----------------------------------------------------------------------------- // wxFontDirectory //----------------------------------------------------------------------------- @@ -114,5 +118,6 @@ class wxFontNameDirectory: public wxObject class wxHashTable *table; int nextFontId; }; +*/ #endif // __GTKFONTH__