AddPendingEvent generates error

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
cavolaccimiei
Knows some wx things
Knows some wx things
Posts: 41
Joined: Thu Feb 08, 2007 10:48 am

AddPendingEvent generates error

Post by cavolaccimiei »

Hello,
i call AddPendingEvent(...) in a secondary thread and sometimes (especially when I call the AddPendingEvent many times), I get an error:

wxLogLastError(wxT("PostMessage(WM_NULL)"));
The error is catched inside app.cpp precisely at wxApp::WakeUpIdle()


What does this mean?