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:
@@ -480,7 +480,7 @@ void wxDialogBase::ShowWindowModal ()
|
|||||||
|
|
||||||
void wxDialogBase::SendWindowModalDialogEvent ( wxEventType type )
|
void wxDialogBase::SendWindowModalDialogEvent ( wxEventType type )
|
||||||
{
|
{
|
||||||
wxCommandEvent event ( type, GetId());
|
wxWindowModalDialogEvent event ( type, GetId());
|
||||||
event.SetEventObject(this);
|
event.SetEventObject(this);
|
||||||
|
|
||||||
if ( !GetEventHandler()->ProcessEvent(event) )
|
if ( !GetEventHandler()->ProcessEvent(event) )
|
||||||
|
Reference in New Issue
Block a user