]> git.saurik.com Git - wxWidgets.git/commitdiff
no changes, just added some explanatory comments for wxCSConv members
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Jul 2008 01:37:43 +0000 (01:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Jul 2008 01:37:43 +0000 (01:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/strconv.h

index 7f5ee6c2a5b51a7b8373a95803b9a0f06412dfac..e9d68a51a3f30e96e943a50f460b9060513f67ce 100644 (file)
@@ -513,7 +513,7 @@ public:
 
     void Clear();
 
-    // return true if the conversion could be initilized successfully
+    // return true if the conversion could be initialized successfully
     bool IsOk() const;
 
 private:
@@ -527,13 +527,19 @@ private:
     wxMBConv *DoCreate() const;
 
     // set the name (may be only called when m_name == NULL), makes copy of
-    // charset string
+    // the charset string
     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;
+
+    // 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!