X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/196a75d48d1076cfa0922720c1b840d495fe2f3d..5c4eb44cbfa4c5f84827cba48cdb9c0cc0c3f7e6:/src/msw/dialog.cpp diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index e009c383df..0b4174a8d0 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -349,7 +349,7 @@ bool wxDialog::DoOK() wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetAffirmativeId()); event.SetEventObject(this); - return GetEventHandler()->ProcessEvent(event); + return HandleWindowEvent(event); } #endif // __POCKETPC__