X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85ab460e7d62b52b105b3dc0bbdd36cebc14fb4b..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/gtk/font.h?ds=sidebyside diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index 7e597c249b..11ceb4335f 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -7,20 +7,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKFONTH__ -#define __GTKFONTH__ - -#include "wx/hash.h" - -// ---------------------------------------------------------------------------- -// classes -// ---------------------------------------------------------------------------- - -class WXDLLIMPEXP_CORE wxDC; -class WXDLLIMPEXP_CORE wxPaintDC; -class WXDLLIMPEXP_CORE wxWindow; - -class WXDLLIMPEXP_CORE wxFont; +#ifndef _WX_GTK_FONT_H_ +#define _WX_GTK_FONT_H_ // ---------------------------------------------------------------------------- // wxFont @@ -61,7 +49,7 @@ public: // wxGTK-specific bool Create(const wxString& fontname); - ~wxFont(); + virtual ~wxFont(); // implement base class pure virtuals virtual int GetPointSize() const; @@ -96,8 +84,11 @@ protected: // common part of all ctors void Init(); + virtual wxObjectRefData* CreateRefData() const; + virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const; + private: DECLARE_DYNAMIC_CLASS(wxFont) }; -#endif // __GTKFONTH__ +#endif // _WX_GTK_FONT_H_