X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27d0dcd033be9b1356a36d582f3d3665a53e11e4..1d529ef7eed851db9d007821decb9639e4e7fc16:/samples/htlbox/htlbox.cpp diff --git a/samples/htlbox/htlbox.cpp b/samples/htlbox/htlbox.cpp index dfb89455fb..97a8815af9 100644 --- a/samples/htlbox/htlbox.cpp +++ b/samples/htlbox/htlbox.cpp @@ -45,7 +45,7 @@ // you can also have a file containing HTML strings for testing, enable this if // you want to use it -#define USE_HTML_FILE +//#define USE_HTML_FILE #ifdef USE_HTML_FILE #include "wx/textfile.h" #endif @@ -405,9 +405,9 @@ MyHtmlListBox::MyHtmlListBox(wxWindow *parent, bool multi) SetMargins(5, 5); #ifdef USE_HTML_FILE - if ( !m_file.Open("results") ) + if ( !m_file.Open(_T("results")) ) { - wxLogError("Failed to open results file"); + wxLogError(_T("Failed to open results file")); } else {