News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

ProcessPendingEvent() How do i call it?

Started by Cybran, December 15, 2012, 07:28:23 PM

Previous topic - Next topic

Cybran

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  ;D

Jenna

Short answer:
Ask in the wxWidgets forum.

Your post has nothing to do with Code::Blocks and is therefore violasting our forum rules.

When registering here, you acceopted to respect these rules !

Topic locked !!