class WXDLLIMPEXP_BASE wxFontMapperBase
{
+ // For IsWxFontMapper()
+ friend class WXDLLIMPEXP_CORE wxFontMapper;
public:
// constructtor and such
// ---------------------
// return instance of the wxFontMapper singleton
// wxBase code only cares that it's a wxFontMapperBase
+ // In wxBase, wxFontMapper is only forward declared
+ // so one cannot implicitly cast from it to wxFontMapperBase.
static wxFontMapperBase *Get();
// set the singleton to 'mapper' instance and return previous one
int NonInteractiveCharsetToEncoding(const wxString& charset);
private:
+ // pseudo-RTTI since we aren't a wxObject.
+ virtual bool IsWxFontMapper();
+
// the global fontmapper object or NULL
static wxFontMapper *sm_instance;
wxWindow *m_windowParent;
private:
+ // pseudo-RTTI since we aren't a wxObject.
+ virtual bool IsWxFontMapper();
+
DECLARE_NO_COPY_CLASS(wxFontMapper)
};