git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46504
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
# define DEBUG_MAIN_THREAD
# endif // Debug
# define DEBUG_MAIN_THREAD
# endif // Debug
extern void wxapp_install_idle_handler();
extern bool g_isIdle;
extern void wxapp_install_idle_handler();
extern bool g_isIdle;
extern bool g_mainThreadLocked;
#endif // wxGTK
extern bool g_mainThreadLocked;
#endif // wxGTK
{
DEBUG_MAIN_THREAD // TODO: Is this neccessary?
{
DEBUG_MAIN_THREAD // TODO: Is this neccessary?
if (g_isIdle) // FIXME: Why is needed? For wxYield? ??
wxapp_install_idle_handler();
if (g_isIdle) // FIXME: Why is needed? For wxYield? ??
wxapp_install_idle_handler();
wxYield(); // FIXME: RN: X Server gets an error/crash if I don't do
// this or a messagebox beforehand?!?!??
wxYield(); // FIXME: RN: X Server gets an error/crash if I don't do
// this or a messagebox beforehand?!?!??