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
This commit is contained in:
parent
e4e55c061f
commit
9f88f9fbf0
@ -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) )
|
||||
|
Loading…
Reference in New Issue
Block a user