#endif
#if !wxUSE_CONSTRAINTS
-#error You must set wxUSE_CONSTRAINTS to 1 in wx_setup.h!
+#error You must set wxUSE_CONSTRAINTS to 1 in setup.h!
#endif
#include <ctype.h>
void MyFrame::LoadFile(wxCommandEvent& WXUNUSED(event) )
{
- wxString s = wxFileSelector("Load text file", (const char *) NULL, (const char *) NULL, (const char *) NULL, "*.txt");
+ wxString s = wxFileSelector( _T("Load text file"), (const wxChar *) NULL,
+ (const wxChar *) NULL, (const wxChar *) NULL, _T("*.txt") );
if (s != "")
{
#ifdef __WXMSW__