projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix build errors deriving from making wxColourData members private
[wxWidgets.git]
/
src
/
mgl
/
app.cpp
diff --git
a/src/mgl/app.cpp
b/src/mgl/app.cpp
index 1a614e3f81d87b2988f9bec4fcda0f7f5cd45f92..c0338c7834953a78b9fff7b64fb4d0dc8280ba0b 100644
(file)
--- a/
src/mgl/app.cpp
+++ b/
src/mgl/app.cpp
@@
-74,10
+74,11
@@
bool wxApp::Yield(bool onlyIfNeeded)
wxLog::Suspend();
wxLog::Suspend();
- if ( wxEventLoop::GetActive() )
+ wxEventLoopBase * const eventLoop = wxEventLoop::GetActive();
+ if ( eventLoop )
{
{
- while (
wxEventLoop::GetActive()
->Pending())
-
wxEventLoop::GetActive()
->Dispatch();
+ while (
eventLoop
->Pending())
+
eventLoop
->Dispatch();
}
/* it's necessary to call ProcessIdle() to update the frames sizes which
}
/* it's necessary to call ProcessIdle() to update the frames sizes which
@@
-200,11
+201,6
@@
static void wxDestroyMGL_WM()
IMPLEMENT_DYNAMIC_CLASS(wxApp,wxEvtHandler)
IMPLEMENT_DYNAMIC_CLASS(wxApp,wxEvtHandler)
-BEGIN_EVENT_TABLE(wxApp, wxEvtHandler)
- EVT_IDLE(wxAppBase::OnIdle)
-END_EVENT_TABLE()
-
-
wxApp::wxApp()
{
}
wxApp::wxApp()
{
}