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:
parent
97a8bcf232
commit
c2a331e027
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user