X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bcd3832a828d146855028f75379749a4569d3318..b1f50e652c0e105c0ed8ab627be837c45f7a1a00:/src/x11/app.cpp?ds=inline diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 28b3b7e52c..1c924a1822 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -243,14 +243,6 @@ wxApp::~wxApp() #endif } -bool wxApp::Initialized() -{ - if (GetTopWindow()) - return TRUE; - else - return FALSE; -} - #if !wxUSE_NANOX //----------------------------------------------------------------------- // X11 predicate function for exposure compression @@ -383,8 +375,6 @@ bool wxApp::ProcessXEvent(WXEvent* _event) #if !wxUSE_NANOX case GraphicsExpose: { - printf( "GraphicExpose event\n" ); - wxLogTrace( _T("expose"), _T("GraphicsExpose from %s"), win->GetName().c_str()); win->GetUpdateRegion().Union( event->xgraphicsexpose.x, event->xgraphicsexpose.y, @@ -650,6 +640,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event) default: //wxString eventName = wxGetXEventName(XEvent& event); //wxLogDebug(wxT("Event %s not handled"), eventName.c_str()); + break; #endif // __WXDEBUG__ } @@ -795,7 +786,7 @@ bool wxApp::Yield(bool onlyIfNeeded) int i; for (i = 0; i < 2; i++) { - bool s_inYield = FALSE; + static bool s_inYield = FALSE; if ( s_inYield ) {