]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_layout.cpp
generate mouse events for all static controls, not just wxStaticLine (patch 1276413...
[wxWidgets.git] / src / html / m_layout.cpp
index 2477eb76c67288ee1ee52e090be27b604da76147..879f95a761418c422707ecb1dae9362db567e682 100644 (file)
@@ -300,7 +300,7 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE")
                 wxString title = m_WParser->GetSource()->Mid(
                                         tag.GetBeginPos(),
                                         tag.GetEndPos1()-tag.GetBeginPos());
-#if !wxUSE_UNICODE
+#if !wxUSE_UNICODE && wxUSE_WCHAR_T
                 wxCSConv conv(m_WParser->GetInputEncoding());
                 title = wxString(title.wc_str(conv), wxConvLocal);
 #endif