]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/strconv.cpp
introduce wxBG_STYLE_{ERASE,PAINT} and implement their documented semantics in wxGTK
[wxWidgets.git] / src / common / strconv.cpp
index 7c47d0c394aa462a675346f2674d5c6124c4a322..41ca712cdfac1fd7296f92230ff9e1ed95bd4283 100644 (file)
@@ -3149,7 +3149,7 @@ wxMBConv *wxCSConv::DoCreate() const
 
     wxLogTrace(TRACE_STRCONV,
                wxT("encoding \"%s\" is not supported by this system"),
 
     wxLogTrace(TRACE_STRCONV,
                wxT("encoding \"%s\" is not supported by this system"),
-               (m_name ? m_name
+               (m_name ? wxString(m_name)
                        : wxFontMapperBase::GetEncodingName(m_encoding)));
 #endif // wxUSE_FONTMAP
 
                        : wxFontMapperBase::GetEncodingName(m_encoding)));
 #endif // wxUSE_FONTMAP