/////////////////////////////////////////////////////////////////////////////
-// Name: font.h
+// Name: wx/os2/font.h
// Purpose: wxFont class
// Author: David Webster
// Modified by:
//
virtual bool IsFree(void) const;
virtual bool RealizeResource(void);
- virtual WXHANDLE GetResourceHandle(void);
+ virtual WXHANDLE GetResourceHandle(void) const;
virtual bool FreeResource(bool bForce = false);
WXHFONT GetHFONT(void) const;
protected:
virtual void DoSetNativeFontInfo(const wxNativeFontInfo& rInfo);
- void Unshare(void);
+ // implement wxObject virtuals which are used by AllocExclusive()
+ virtual wxGDIRefData *CreateGDIRefData() const;
+ virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
private:
DECLARE_DYNAMIC_CLASS(wxFont)