]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/dialog.cpp
removed unnecessarily overridden wxControl method
[wxWidgets.git] / src / univ / dialog.cpp
index cf1d19793b044fddfcdcb01debd13092609ae960..6b42e73d02c72a13fdaf3bea6cd218871fa235f7 100644 (file)
@@ -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 )