Changeset 147

Show
Ignore:
Timestamp:
09/02/10 21:22:35 (17 months ago)
Author:
Carsten
Message:

Applied my patch  http://trac.wxwidgets.org/ticket/12424 to official wxWidgets library also
to our local copy of wxWidgets (2.9.1), anticipating the next (future) vendor update (to 2.9.2).

Location:
cafu/trunk/ExtLibs/wxWidgets/src/common
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/ExtLibs/wxWidgets/src/common/appbase.cpp

    r107 r147  
    370370    wxLog::FlushActive(); 
    371371#endif 
     372 
     373    // When user idle event handling code 
     374    //   - schedules an object for deletion, and 
     375    //   - continuously requests more idle events, 
     376    // then without this, the objects are collected in ProcessPendingEvents() 
     377    // only when the next *external* event occurs. 
     378    DeletePendingObjects(); 
    372379 
    373380    return event.MoreRequested(); 
  • cafu/trunk/ExtLibs/wxWidgets/src/common/evtloopcmn.cpp

    r107 r147  
    140140                // generate and process idle events for as long as we don't 
    141141                // have anything else to do 
    142                 while ( !Pending() && ProcessIdle() ) 
     142                while ( !Pending() && ProcessIdle() && !m_shouldExit ) 
    143143                    ; 
    144144