]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
fixing the HITextView single line scrolling under 10.5
[wxWidgets.git] / src / msw / dialog.cpp
index e009c383dfa49d8e8341de3559fdbc586e82edbd..0b4174a8d04c0dc97ec9e5919b1edba9e19b106f 100644 (file)
@@ -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__