X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925e9792d32e353233985f53a4845f154e455a58..c687b303a5040da07009ea93504121aeec56682a:/samples/xrc/derivdlg.cpp?ds=inline diff --git a/samples/xrc/derivdlg.cpp b/samples/xrc/derivdlg.cpp index 32c81c95ee..38b2d03c7c 100644 --- a/samples/xrc/derivdlg.cpp +++ b/samples/xrc/derivdlg.cpp @@ -50,7 +50,7 @@ BEGIN_EVENT_TABLE(PreferencesDialog, wxDialog) EVT_BUTTON( XRCID( "my_button" ), PreferencesDialog::OnMyButtonClicked ) - EVT_UPDATE_UI(XRCID( "my_checkbox" ), PreferencesDialog::OuUpdateUIMyCheckbox ) + EVT_UPDATE_UI(XRCID( "my_checkbox" ), PreferencesDialog::OnUpdateUIMyCheckbox ) // Note that the ID here isn't a XRCID, it is one of the standard wx ID's. EVT_BUTTON( wxID_OK, PreferencesDialog::OnOK ) END_EVENT_TABLE() @@ -80,7 +80,7 @@ void PreferencesDialog::OnMyButtonClicked( wxCommandEvent &WXUNUSED(event) ) // Update the enabled/disabled state of the edit/delete buttons depending on // whether a row (item) is selected in the listctrl -void PreferencesDialog::OuUpdateUIMyCheckbox( wxUpdateUIEvent &WXUNUSED(event) ) +void PreferencesDialog::OnUpdateUIMyCheckbox( wxUpdateUIEvent &WXUNUSED(event) ) { // Get a boolean value of whether the checkbox is checked bool myCheckBoxIsChecked;