git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54702
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- // return true if the conversion could be initilized successfully
+ // return true if the conversion could be initialized successfully
bool IsOk() const;
private:
bool IsOk() const;
private:
wxMBConv *DoCreate() const;
// set the name (may be only called when m_name == NULL), makes copy of
wxMBConv *DoCreate() const;
// set the name (may be only called when m_name == NULL), makes copy of
void SetName(const char *charset);
void SetName(const char *charset);
+ // m_name may be NULL in which case m_encoding should be used
+ //
// note that we can't use wxString here because of compilation
// dependencies: we're included from wx/string.h
char *m_name;
// note that we can't use wxString here because of compilation
// dependencies: we're included from wx/string.h
char *m_name;
+
+ // may be wxFONTENCODING_SYSTEM in which case m_name is used
+ //
+ // if m_name is NULL, then we should use the default system encoding
wxFontEncoding m_encoding;
// use CreateConvIfNeeded() before accessing m_convReal!
wxFontEncoding m_encoding;
// use CreateConvIfNeeded() before accessing m_convReal!