Fixed compile bug in proplist.cpp; added makevc.env
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -171,8 +171,8 @@ END_EVENT_TABLE()
|
||||
|
||||
void MyFrame::LoadFile(wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
char *s = wxFileSelector("Load text file", (const char *) NULL, (const char *) NULL, (const char *) NULL, "*.txt");
|
||||
if (s)
|
||||
wxString s = wxFileSelector("Load text file", (const char *) NULL, (const char *) NULL, (const char *) NULL, "*.txt");
|
||||
if (s != "")
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
frame->text_window->LoadFile(s);
|
||||
|
Reference in New Issue
Block a user