EndModal(wxID_CANCEL);
}
- // Not sure how to put this in platform-specific
- // code just yet. Nano-X has to force a size event,
- // else there's no initial size.
-#if wxUSE_NANOX
- if (show)
- {
- wxSizeEvent event(GetSize(), GetId());
- event.SetEventObject(this);
- GetEventHandler()->ProcessEvent(event);
- }
-#endif
-
bool ret = wxDialogBase::Show(show);
if ( show )
return m_isShowingModal;
}
-void wxDialog::SetModal(bool WXUNUSED(flag))
-{
- wxFAIL_MSG( wxT("wxDialog:SetModal obsolete now") );
-}
-
int wxDialog::ShowModal()
{
if ( IsModal() )