document GetOptionInt() as returning 0 for the options which are not present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1126,8 +1126,6 @@ wxString wxImage::GetOption(const wxString& name) const
|
||||
|
||||
int wxImage::GetOptionInt(const wxString& name) const
|
||||
{
|
||||
wxCHECK_MSG( Ok(), 0, wxT("invalid image") );
|
||||
|
||||
return wxAtoi(GetOption(name));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user