sry if this is the wrong section i'm new here
my problem is that i dont know how to call ProcessPendingEvents. i have a loop which has to run for quite a while. when i click on my dialog while with the loop running, i get a message that my pogram is not responding. to avoid this, i tried to call ProcessPendingEvent() in my loop. then i ran my program in debug mode and a messagebox appered saying i should use wxApp::ProcessPendingEvents. well, i tried but i got the error "wxApp not declared". then i tried including wx/wxapp.h and this time the message didnt appear, but my program nevertheless crashed on clicking. (or, at least wasnt responding
)
please help me to fix the ploblem, im working on this for 2 days now
and sorry for my bad english, i'm german