X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27d0dcd033be9b1356a36d582f3d3665a53e11e4..c663fbea6851207b4e0ac3e362868c23b1494a46:/samples/htlbox/htlbox.cpp diff --git a/samples/htlbox/htlbox.cpp b/samples/htlbox/htlbox.cpp index dfb89455fb..2e3b116dc1 100644 --- a/samples/htlbox/htlbox.cpp +++ b/samples/htlbox/htlbox.cpp @@ -40,12 +40,13 @@ #endif #include "wx/colordlg.h" +#include "wx/numdlg.h" #include "wx/htmllbox.h" // 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 +406,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 {