]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dialog.cpp
guard against empty ref
[wxWidgets.git] / src / gtk1 / dialog.cpp
index c2dee417c52bb9b2f15d44e6c8808c716a6c8ad3..f9f34936ffcae03222c4f8ac7f57b636f00955d7 100644 (file)
@@ -20,7 +20,7 @@
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 
-#include "wx/gtk/win_gtk.h"
+#include "wx/gtk1/win_gtk.h"
 
 //-----------------------------------------------------------------------------
 // global data
@@ -202,8 +202,6 @@ int wxDialog::ShowModal()
 
     Show( true );
 
-    SetFocus();
-
     m_modalShowing = true;
 
     g_openDialogs++;