Reimplemented in Impala::Visualization::Window. Definition at line 148 of file Window.h. References mIs2d, OglGui::OglWindow::mOglWnd, and OglGui::OglWindow::mOldUserCFunctions. 00149 { 00150 #ifdef DESTRUCT_VERBOSE 00151 printf("virtual OglGui::Window destructor\n"); 00152 #endif 00153 // ExitFunc(); 00154 if (mOldUserCFunctions.exitFunc) 00155 mOldUserCFunctions.exitFunc(mOglWnd); 00156 else 00157 if (mIs2d) 00158 viewSys.ExitView2D(mOglWnd); 00159 else 00160 view3DSys.ExitView3D(mOglWnd); 00161 00162 // RvB: 17-2-2009 Dangerous as mWindowListener may no longer live. 00163 // Commented for now since no one was using it yet. 00164 //if (mWindowListener) 00165 // mWindowListener->WindowExitEvent(this, mListenerData); 00166 }
|