From 9f88f9fbf07addb70b5987e3c6f174d57673341e Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 1 Mar 2010 22:54:15 +0000 Subject: [PATCH] Use the correct event class for the window modal notification git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dlgcmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index 2f1cac5f56..345d01a2d8 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -480,7 +480,7 @@ void wxDialogBase::ShowWindowModal () void wxDialogBase::SendWindowModalDialogEvent ( wxEventType type ) { - wxCommandEvent event ( type, GetId()); + wxWindowModalDialogEvent event ( type, GetId()); event.SetEventObject(this); if ( !GetEventHandler()->ProcessEvent(event) )