#include "wx/gtk/win_gtk.h"
//-----------------------------------------------------------------------------
-// idle system
+// global data
//-----------------------------------------------------------------------------
-extern void wxapp_install_idle_handler();
-extern bool g_isIdle;
extern int g_openDialogs;
//-----------------------------------------------------------------------------
void wxDialog::Init()
{
m_returnCode = 0;
- m_sizeSet = FALSE;
- m_modalShowing = FALSE;
- m_themeEnabled = TRUE;
+ m_sizeSet = false;
+ m_modalShowing = false;
+ m_themeEnabled = true;
}
wxDialog::wxDialog( wxWindow *parent,
else
{
SetReturnCode(wxID_CANCEL);
- Show(FALSE);
+ Show(false);
}
}
else
{
SetReturnCode(wxID_OK);
- Show(FALSE);
+ Show(false);
}
}
}
}
wxBusyCursorSuspender cs; // temporarily suppress the busy cursor
-
- Show( TRUE );
+
+ Show( true );
SetFocus();
- m_modalShowing = TRUE;
+ m_modalShowing = true;
g_openDialogs++;
return;
}
- m_modalShowing = FALSE;
+ m_modalShowing = false;
gtk_main_quit();
- Show( FALSE );
+ Show( false );
}