Changeset 2231 in Sophya for trunk/SophyaPI/PIext/pihisto2d.cc
- Timestamp:
- Oct 25, 2002, 12:45:09 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pihisto2d.cc
r1905 r2231 52 52 //-- 53 53 { 54 // La fonction virtuelle DeactivateControlWindow() doit etre appele 55 // a ce niveau - En effet au niveau du destructeur de base, il 56 // semble pointer sur la fonction de la classe de base 57 // Reza - Octobre 2002 58 // Desactivation totale de la fenetre de controle specialise 59 // ---> parametre d'appel PIBaseWdgGen* wdg=NULL 60 DeactivateControlWindow(NULL); 54 61 if(mAdDO && mHisto!=NULL) delete mHisto; 55 62 } … … 205 212 } 206 213 214 //++ 215 void PIHisto2D::DeactivateControlWindow(PIBaseWdgGen* wdg) 216 // 217 // Desactivation de la fenetre de controle specialisee 218 //-- 219 { 220 if (H2WinArg::GetCurrentPIHisto2D() == this) { 221 // si wdg != NULL, c'est un Detach (Drawer detache du PIBaseWdg 222 // si wdg == NULL, c'est un delete du PIHisto2D (du PIDrawer) 223 if ((wdg == NULL) || (H2WinArg::GetCurrentBaseWdg() == wdg)) { 224 H2WinArg::SetCurrentBaseWdg(NULL); 225 H2WinArg::SetCurrentPIHisto2D(NULL); 226 H2WinArg::HidePIHisto2DTools(); 227 } 228 } 229 PIDrawer::DeactivateControlWindow(wdg); 230 return; 231 } 207 232 208 233 //++
Note:
See TracChangeset
for help on using the changeset viewer.