Applied patch [ 846809 ] Cleaning of 11 samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -148,8 +148,8 @@ void CheckBoxWidgetsPage::OnCheckBox(wxCommandEvent& event)
|
||||
};
|
||||
wxCheckBoxState state = (wxCheckBoxState) event.GetInt();
|
||||
|
||||
wxCHECK_RET( (state >= 0) && (state < WXSIZEOF(stateNames)),
|
||||
"event.GetInt() returned an invalid wxCheckBoxState" );
|
||||
wxCHECK_RET( (state >= (wxCheckBoxState)0) && (state < (wxCheckBoxState)WXSIZEOF(stateNames)),
|
||||
_T("event.GetInt() returned an invalid wxCheckBoxState") );
|
||||
|
||||
wxLogMessage(wxT("Checkbox now set to state: %s"),
|
||||
stateNames[state].c_str());
|
||||
|
Reference in New Issue
Block a user