Reimplemented in OglGui::CheckBoxDrum, OglGui::TextEdit, OglGui::ViewSphere, and Impala::Visualization::Window. Definition at line 306 of file OglWindow.h. References mIsDestructing, mIsExiting, mOglWnd, and mOldUserCFunctions. Referenced by Impala::Visualization::Window::ExitFunc(), OglGui::TextEdit::ExitFunc(), and GlueExitFunc(). 00307 { 00308 mIsExiting = true; 00309 if (mOldUserCFunctions.exitFunc) 00310 { 00311 OGLUSERFUNCS funcs = mOldUserCFunctions; 00312 mOldUserCFunctions.exitFunc = 0; 00313 funcs.exitFunc(mOglWnd); 00314 } 00315 00316 if (!mIsDestructing) 00317 delete this; 00318 }
|