X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ff68d3fd238a3b943fa0638c88c30b9f2818af..430974f8c443dcbe1616a85238ead7db5fb88e43:/src/univ/dialog.cpp?ds=sidebyside diff --git a/src/univ/dialog.cpp b/src/univ/dialog.cpp index cf1d19793b..6b42e73d02 100644 --- a/src/univ/dialog.cpp +++ b/src/univ/dialog.cpp @@ -153,18 +153,6 @@ bool wxDialog::Show(bool show) 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 )