Various small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -985,9 +985,9 @@ bool wxPropertySheet::SetProperty(const wxString name, wxPropertyValue value)
|
||||
wxProperty* prop = GetProperty(name);
|
||||
if(prop){
|
||||
prop->SetValue(value);
|
||||
return true;
|
||||
return TRUE;
|
||||
}else{
|
||||
return false;
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
void wxPropertySheet::RemoveProperty(wxString name)
|
||||
@@ -1002,7 +1002,7 @@ void wxPropertySheet::RemoveProperty(wxString name)
|
||||
}
|
||||
bool wxPropertySheet::HasProperty(wxString name)
|
||||
{
|
||||
return (GetProperty(name)?true:false);
|
||||
return (GetProperty(name)?TRUE:FALSE);
|
||||
}
|
||||
// Clear all properties
|
||||
void wxPropertySheet::Clear(void)
|
||||
|
Reference in New Issue
Block a user