bool ELJApp::OnInit (void) { wxInitAllImageHandlers(); initIdleTimer(); if (initClosure) { delete initClosure; /* special: init is only called once with a NULL event */ initClosure=NULL; } return true; }
bool ELJApp::OnInit (void) { if (!wxApp::OnInit()) return false; initIdleTimer(); if (initClosure) { delete initClosure; /* special: init is only called once with a NULL event */ initClosure=NULL; } return true; }