X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20123d495814b8b8543bf43fbd63aa7ec21e5d78..f65bb0f8ab88e80a367b6fa361e92545c04f6914:/include/wx/gtk/font.h diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index dbfe1b1f00..1f2840764b 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -10,10 +10,6 @@ #ifndef __GTKFONTH__ #define __GTKFONTH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface -#endif - #include "wx/hash.h" // ---------------------------------------------------------------------------- @@ -33,15 +29,11 @@ class WXDLLIMPEXP_CORE wxFont; class WXDLLIMPEXP_CORE wxFont : public wxFontBase { public: - // ctors and such - wxFont() { Init(); } - wxFont(const wxFont& font) : wxFontBase() { Init(); Ref(font); } + wxFont() { } // wxGTK-specific wxFont(const wxString& fontname) { - Init(); - Create(fontname); } @@ -55,8 +47,6 @@ public: const wxString& face = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT) { - Init(); - (void)Create(size, family, style, weight, underlined, face, encoding); } @@ -73,9 +63,6 @@ public: ~wxFont(); - // assignment - wxFont& operator=(const wxFont& font); - // implement base class pure virtuals virtual int GetPointSize() const; virtual int GetFamily() const; @@ -101,10 +88,6 @@ public: // implementation from now on void Unshare(); -#ifndef __WXGTK20__ - GdkFont* GetInternalFont(float scale = 1.0) const; -#endif - // no data :-) protected: