int wxApp::MainLoop()
{
- int rt;
+ int rt;
m_mainLoop = new wxEventLoop;
rt = m_mainLoop->Run();
win = wxGetWindowFromTable(window);
if (!win)
- return FALSE;
+ return FALSE;
#ifdef __WXDEBUG__
wxString windowClass = win->GetClassInfo()->GetClassName();
g_nextFocus = win;
win->SetFocus();
- return TRUE;
+ // return TRUE;
}
}
delete wxLog::SetActiveTarget(new wxLogStderr);
if (!wxAppBase::OnInitGui())
- return FALSE;
+ return FALSE;
GetMainColormap( wxApp::GetDisplay() );
#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)