unicode compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-08-14 21:04:41 +00:00
parent 97a8bcf232
commit c2a331e027

View File

@@ -45,7 +45,7 @@
// you can also have a file containing HTML strings for testing, enable this if // you can also have a file containing HTML strings for testing, enable this if
// you want to use it // you want to use it
#define USE_HTML_FILE //#define USE_HTML_FILE
#ifdef USE_HTML_FILE #ifdef USE_HTML_FILE
#include "wx/textfile.h" #include "wx/textfile.h"
#endif #endif
@@ -405,9 +405,9 @@ MyHtmlListBox::MyHtmlListBox(wxWindow *parent, bool multi)
SetMargins(5, 5); SetMargins(5, 5);
#ifdef USE_HTML_FILE #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 else
{ {