]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dialog.cpp
added support for <bg> tag for toolbars in XRC
[wxWidgets.git] / src / gtk / dialog.cpp
index 17df0e50d03676b7e3adad0230673fe1c7f0a3ad..31df13df6b5bc7fc9c2643ec7aee08a2b423eb25 100644 (file)
@@ -7,10 +7,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "dialog.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -206,8 +202,6 @@ int wxDialog::ShowModal()
 
     Show( true );
 
-    SetFocus();
-
     m_modalShowing = true;
 
     g_openDialogs++;