]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/dialog.cpp
Allow using windows that can't be focused with wxNavigationEnabled<>.
[wxWidgets.git] / src / univ / dialog.cpp
index fbb8423f7bdf3909c3f850ecf12b7d6614f26053..c8b9e7aa7da7a14a741c00374c3e6526dc8338d0 100644 (file)
@@ -41,8 +41,6 @@ BEGIN_EVENT_TABLE(wxDialog,wxDialogBase)
     EVT_CLOSE   (wxDialog::OnCloseWindow)
 END_EVENT_TABLE()
 
-IMPLEMENT_DYNAMIC_CLASS(wxDialog,wxTopLevelWindow)
-
 void wxDialog::Init()
 {
     m_returnCode = 0;
@@ -187,9 +185,8 @@ int wxDialog::ShowModal()
 
     wxASSERT_MSG( !m_windowDisabler, wxT("disabling windows twice?") );
 
-#if defined(__WXGTK__) || defined(__WXMGL__)
+#if defined(__WXGTK__)
     wxBusyCursorSuspender suspender;
-    // FIXME (FIXME_MGL) - make sure busy cursor disappears under MSW too
 #endif
 
     m_windowDisabler = new wxWindowDisabler(this);