// 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"
return true;
}
-bool wxDialog::XmDoCreateTLW(wxWindow* parent,
+bool wxDialog::DoCreate(wxWindow* parent,
wxWindowID id,
const wxString& title,
const wxPoint& pos,
return true;
}
+void wxDialog::DoDestroy()
+{
+}
+
void wxDialog::SetModal(bool flag)
{
#ifdef __VMS
m_isShown = show;
+ if (show)
+ {
+ // this usually will result in TransferDataToWindow() being called
+ // which will change the controls values so do it before showing as
+ // otherwise we could have some flicker
+ InitDialog();
+ }
+
if (show)
{
if (!wxUSE_INVISIBLE_RESIZE)
m_modalShowing = false;
m_eventLoop->Exit();
+
+ SetModal(false);
}
// Standard buttons