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:
@@ -1465,7 +1465,7 @@ void wxFilenameListValidator::OnEdit(wxProperty *property, wxPropertyListView *v
|
||||
if (!view->GetValueText())
|
||||
return;
|
||||
|
||||
char *s = wxFileSelector(
|
||||
wxString s = wxFileSelector(
|
||||
m_filenameMessage.GetData(),
|
||||
wxPathOnly(property->GetValue().StringValue()),
|
||||
wxFileNameFromPath(property->GetValue().StringValue()),
|
||||
@@ -1473,9 +1473,9 @@ void wxFilenameListValidator::OnEdit(wxProperty *property, wxPropertyListView *v
|
||||
m_filenameWildCard.GetData(),
|
||||
0,
|
||||
parentWindow);
|
||||
if (s)
|
||||
if (s != "")
|
||||
{
|
||||
property->GetValue() = wxString(s);
|
||||
property->GetValue() = s;
|
||||
view->DisplayProperty(property);
|
||||
view->UpdatePropertyDisplayInList(property);
|
||||
view->OnPropertyChanged(property);
|
||||
|
||||
Reference in New Issue
Block a user