Played a little with sockets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -530,7 +530,6 @@ wxEvtHandler::~wxEvtHandler()
|
||||
|
||||
#ifdef __WXGTK__
|
||||
extern bool g_isIdle;
|
||||
|
||||
extern void wxapp_install_idle_handler();
|
||||
#endif
|
||||
|
||||
@@ -554,7 +553,8 @@ bool wxEvtHandler::ProcessThreadEvent(wxEvent& event)
|
||||
wxPendingEventsLocker->Leave();
|
||||
|
||||
#ifdef __WXGTK__
|
||||
// if (g_isIdle) wxapp_install_idle_handler();
|
||||
if (g_isIdle)
|
||||
wxapp_install_idle_handler();
|
||||
#endif
|
||||
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user