Author Topic: ProcessPendingEvent() How do i call it?  (Read 4503 times)

Cybran

  • Guest
ProcessPendingEvent() How do i call it?
« on: December 15, 2012, 07:28:23 pm »
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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: ProcessPendingEvent() How do i call it?
« Reply #1 on: December 15, 2012, 07:48:20 pm »
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 !!