X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..141d782d567f92933f6fe868fff5bace77e8ecd2:/src/gtk1/dialog.cpp diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index c2dee417c5..a58dcb55db 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dialog.cpp +// Name: src/gtk1/dialog.cpp // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -11,8 +11,12 @@ #include "wx/wxprec.h" #include "wx/dialog.h" -#include "wx/frame.h" -#include "wx/app.h" + +#ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/frame.h" +#endif // WX_PRECOMP + #include "wx/cursor.h" #include "wx/evtloop.h" @@ -20,7 +24,7 @@ #include #include -#include "wx/gtk/win_gtk.h" +#include "wx/gtk1/win_gtk.h" //----------------------------------------------------------------------------- // global data @@ -202,8 +206,6 @@ int wxDialog::ShowModal() Show( true ); - SetFocus(); - m_modalShowing = true; g_openDialogs++;