IMPLEMENT_DYNAMIC_CLASS(wxWindowModalDialogEvent, wxCommandEvent)
-bool wxDialogBase::ShowWindowModal ()
+void wxDialogBase::ShowWindowModal ()
{
ShowModal();
SendWindowModalDialogEvent ( wxEVT_WINDOW_MODAL_DIALOG_CLOSED );
- return true;
}
void wxDialogBase::SendWindowModalDialogEvent ( wxEventType type )
{
- wxCommandEvent event ( type, GetId());
+ wxWindowModalDialogEvent event ( type, GetId());
event.SetEventObject(this);
if ( !GetEventHandler()->ProcessEvent(event) )