don't do anything non trivial (like creating wxFontMapper) in ctors of global objects

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-26 16:55:53 +00:00
parent 03c0e93785
commit bda3d86af9
2 changed files with 16 additions and 28 deletions

View File

@@ -188,7 +188,8 @@ private:
// do create m_convReal (unconditionally)
wxMBConv *DoCreate() const;
void SetEncoding();
// set the name (may be only called when m_name == NULL), makes copy of
// charset string
void SetName(const wxChar *charset);