]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/strconv.cpp
be able to change tabs with arrow keys
[wxWidgets.git] / src / common / strconv.cpp
index 05aa1faa3e08c2a62dfb2c3a4cb46e2b0bbd920a..843c84e046ce7c5b007af15ab4c07b76ca207a73 100644 (file)
@@ -1746,8 +1746,8 @@ wxMBConv_iconv::wxMBConv_iconv(const char *name)
 
         wxLogTrace(TRACE_STRCONV,
                    wxT("iconv wchar_t charset is \"%s\"%s"),
-                   ms_wcCharsetName.empty() ? _T("<none>")
-                                            : ms_wcCharsetName.c_str(),
+                   ms_wcCharsetName.empty() ? wxString("<none>")
+                                            : ms_wcCharsetName,
                    ms_wcNeedsSwap ? _T(" (needs swap)")
                                   : _T(""));
     }
@@ -1956,7 +1956,7 @@ size_t wxMBConv_iconv::GetMBNulLen() const
         wxMutexLocker lock(self->m_iconvMutex);
 #endif
 
-        wchar_t *wnul = L"";
+        const wchar_t *wnul = L"";
         char buf[8]; // should be enough for NUL in any encoding
         size_t inLen = sizeof(wchar_t),
                outLen = WXSIZEOF(buf);