X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6b915ed4fcc54e5bc6997e395642f8ac49670b8..2cfcf22d47b7d9cf3c85edfe498c5f23a18a9a19:/src/motif/dialog.cpp?ds=sidebyside diff --git a/src/motif/dialog.cpp b/src/motif/dialog.cpp index 4be633c308..0b812eadba 100644 --- a/src/motif/dialog.cpp +++ b/src/motif/dialog.cpp @@ -9,10 +9,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" @@ -151,7 +147,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, return true; } -bool wxDialog::DoCreate(wxWindow* parent, +bool wxDialog::XmDoCreateTLW(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, @@ -370,6 +366,8 @@ void wxDialog::EndModal(int retCode) m_modalShowing = false; m_eventLoop->Exit(); + + SetModal(false); } // Standard buttons