#pragma implementation "dialog.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#ifdef __VMS
#define XtDisplay XTDISPLAY
#define XtWindow XTWINDOW
void wxDialog::SetModal(bool flag)
{
- if ( flag )
+#ifdef __VMS
+#pragma message disable codcauunr
+#endif
+ if ( flag )
m_windowStyle |= wxDIALOG_MODAL ;
else
if ( m_windowStyle & wxDIALOG_MODAL )
wxModelessWindows.DeleteObject(this);
if (!flag)
wxModelessWindows.Append(this);
+#ifdef __VMS
+#pragma message enable codcauunr
+#endif
}
wxDialog::~wxDialog()
bool wxDialog::Show( bool show )
{
- if( !wxTopLevelWindowMotif::Show( show ) )
- return FALSE;
+ if( !wxWindowBase::Show( show ) )
+ return false;
m_isShown = show;