#define M_FONTDATA ((wxFontRefData *)m_refData)
-WXDLLEXPORT_DATA(extern const char*) wxEmptyString;
+WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
// Font
class WXDLLEXPORT wxFont: public wxGDIObject
virtual bool ReleaseResource(void);
*/
- virtual bool IsFree(void);
+ virtual bool IsFree() const;
virtual bool Ok(void) const { return (m_refData != NULL) ; }
inline int GetPointSize(void) const { return M_FONTDATA->m_pointSize; }
void SetFaceName(const wxString& faceName);
void SetUnderlined(bool underlined);
- inline wxFont& operator = (const wxFont& font) { if (*this == font) return (*this); Ref(font); return *this; }
- inline bool operator == (const wxFont& font) { return m_refData == font.m_refData; }
- inline bool operator != (const wxFont& font) { return m_refData != font.m_refData; }
+ wxFont& operator = (const wxFont& font) { if (*this == font) return (*this); Ref(font); return *this; }
+ bool operator == (const wxFont& font) const { return m_refData == font.m_refData; }
+ bool operator != (const wxFont& font) const { return m_refData != font.m_refData; }
protected:
void Unshare();