// 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
// wxGTK-specific
bool Create(const wxString& fontname);
- ~wxFont();
+ virtual ~wxFont();
// implement base class pure virtuals
virtual int GetPointSize() const;
// 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_