]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
Move POSIX implementation of wxThread::Create() to wxThreadInternal.
[wxWidgets.git] / src / msw / dialog.cpp
index 67144e1bba6e710e3993d41fc31ec51720722807..ccab43d45ef18a72bbe17c21dfdf82344670d5d5 100644 (file)
@@ -336,7 +336,7 @@ bool wxDialog::DoOK()
     if ( EmulateButtonClickIfPresent(idOk) )
         return true;
 
-    wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetAffirmativeId());
+    wxCommandEvent event(wxEVT_BUTTON, GetAffirmativeId());
     event.SetEventObject(this);
 
     return HandleWindowEvent(event);