X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/086fd5603bafc43c2ccf3dae6c9902204d10c4c1..cd560c961a09a8ae80b9c32856e195ed784cc547:/src/x11/app.cpp diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 6520be3a91..34416b4f9b 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -403,7 +403,7 @@ bool wxApp::Initialized() int wxApp::MainLoop() { - int rt; + int rt; m_mainLoop = new wxEventLoop; rt = m_mainLoop->Run(); @@ -468,7 +468,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event) win = wxGetWindowFromTable(window); if (!win) - return; + return FALSE; #ifdef __WXDEBUG__ wxString windowClass = win->GetClassInfo()->GetClassName(); @@ -661,7 +661,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event) g_nextFocus = win; win->SetFocus(); - return TRUE; + // return TRUE; } } @@ -881,7 +881,7 @@ bool wxApp::OnInitGui() delete wxLog::SetActiveTarget(new wxLogStderr); if (!wxAppBase::OnInitGui()) - return FALSE; + return FALSE; GetMainColormap( wxApp::GetDisplay() ); @@ -920,13 +920,13 @@ Window wxGetWindowParent(Window window) #endif Window* children = NULL; - // #define XQueryTree(d,w,r,p,c,nc) GrQueryTree(w,p,c,nc) + // #define XQueryTree(d,w,r,p,c,nc) GrQueryTree(w,p,c,nc) int res = 1; #if !wxUSE_NANOX res = #endif XQueryTree((Display*) wxGetDisplay(), window, & root, & parent, - & children, & noChildren); + & children, & noChildren); if (children) XFree(children); if (res)