public:
wxFontMapperModule() : wxModule() { }
virtual bool OnInit() { return true; }
- virtual void OnExit() { delete wxFontMapperBase::Set(NULL); }
+ virtual void OnExit() { delete (wxFontMapperBase*)wxFontMapperBase::Set(NULL); }
DECLARE_DYNAMIC_CLASS(wxFontMapperModule)
};
#endif // wxUSE_CONFIG
}
+bool wxFontMapperBase::IsWxFontMapper()
+{ return false; }
+
/* static */
-// Declared as returning wxFontMapper when wxUSE_GUI=1. Unfortunately, it's
-// only implemented in wxBase library. Note that if the last resort
-// is taken and GUI code tries to treat it as a real wxFontMapper
-// then you'd be in trouble.
wxFontMapperBase *wxFontMapperBase::Get()
{
if ( !sm_instance )