Search found 2 matches
- Thu Sep 28, 2006 7:16 pm
- Forum: C++ Development
- Topic: MainLoop and events
- Replies: 2
- Views: 1184
ok, I fanaly got it to work - I just created my own message pump on my wxApp class. Im not really sure if this is the correct way to do it but it works well in my application. Destructor: myWxApp::~myWxApp() { delete m_mainLoop; m_mainLoop = NULL; } Constructor: bool myWxApp::OnInit() { m_mainLoop =...
- Wed Sep 27, 2006 9:18 pm
- Forum: C++ Development
- Topic: MainLoop and events
- Replies: 2
- Views: 1184
I have the same problem, I tried something like the following, but it didnt work.
Hoping someone knows what to do - thanks.
Code: Select all
while( wxTheApp->Pending() )
{
if( !wxTheApp->Dispatch() )
return false;
}