#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include "wx/gtk/win_gtk.h"
+#include "wx/cursor.h"
//-----------------------------------------------------------------------------
// idle system
m_needParent = FALSE;
- PreCreation( parent, id, pos, size, style, name );
+ if (!PreCreation( parent, pos, size ) ||
+ !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
+ {
+ wxFAIL_MSG( _T("wxDialog creation failed") );
+ return FALSE;
+ }
m_insertCallback = (wxInsertChildFunction) wxInsertChildInDialog;
return GetReturnCode();
}
+ wxBusyCursorSuspender cs; // temporarily suppress the busy cursor
+
Show( TRUE );
m_modalShowing = TRUE;