#include <wxTabPanelsManager.h>
Public Member Functions | |
wxTabPanelsManager (wxGUIEditorGraphicBBS *parent) | |
~wxTabPanelsManager () | |
void | addNewTab (wxString tabName=_T("<void>")) |
wxAuiNotebook * | getAuiNotebook () |
wxGEditorTabPanel * | getActualTabPanel () |
void | displayBlackBoxInfo (std::string packageName, std::string boxName) |
void | updateStatusBar (std::string textStatus) |
std::string | getActualDiagramBBS (bool wln=false) |
std::string | getActualComplexBoxBBS () |
void | editBlackBox (GBlackBoxModel *bbmodel) |
void | deleteAllBoxesActualDiagram () |
void | centerViewActualDiagram () |
void | saveActualDiagram (std::string &content, const std::string &path) |
void | loadDiagram (ifstream &inputStream, const std::string &path) |
void | saveTempActualDiagram (const std::string &) |
void | saveTempandUpdate (const std::string &) |
void | loadTempDiagram (unsigned short un) |
unsigned short | getUndoState (std::string &) |
unsigned short | getRedoState (std::string &) |
bool | isActualDiagramComplexBox () |
void | setActualDiagramComplexBox (bool val) |
void | addActualDiagramComplexInputPort (std::string portName) |
void | addActualDiagramComplexOutputPort (std::string portName) |
void | copySelectedBBoxesToComplexDiagram () |
int | getNumActualSelectedObjects () |
void | OnTabChanged (wxAuiNotebookEvent &event) |
void | OnTabClose (wxAuiNotebookEvent &event) |
void | VerifyLastTabPanel () |
void | SetCbName (std::string cbName) |
void | SetCbPackageName (std::string packagename) |
void | SetAuthor (std::string author) |
void | SetCategory (std::string category) |
void | SetDescription (std::string description) |
std::string | GetCbName () |
std::string | GetCbPackageName () |
std::string | GetAuthor () |
std::string | GetDescription () |
std::string | GetCategory () |
void | SetNameTabPanel (wxString tabpanelname) |
std::string | GetNameTabPanel () |
std::string | GetCurrentTabPanelPath () |
Private Attributes | |
wxGUIEditorGraphicBBS * | _parent |
map< int, wxGEditorTabPanel * > | _panels |
wxGEditorTabPanel * | _actual |
wxAuiNotebook * | _notebook |
int | _lastId |
Definition at line 68 of file wxTabPanelsManager.h.
bbtk::wxTabPanelsManager::wxTabPanelsManager | ( | wxGUIEditorGraphicBBS * | parent | ) |
Definition at line 44 of file wxTabPanelsManager.cxx.
References _lastId, _notebook, _parent, addNewTab(), bbtk::wxGUIEditorGraphicBBS::getAuiNotebook(), OnTabChanged(), and OnTabClose().
00045 { 00046 _parent = parent; 00047 _lastId = 0; 00048 _notebook = _parent->getAuiNotebook(); 00049 addNewTab(); 00050 _notebook->Connect(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED,wxAuiNotebookEventHandler(wxTabPanelsManager::OnTabChanged),0,this); 00051 _notebook->Connect(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE,wxAuiNotebookEventHandler(wxTabPanelsManager::OnTabClose),0,this); 00052 00053 }
bbtk::wxTabPanelsManager::~wxTabPanelsManager | ( | ) |
void bbtk::wxTabPanelsManager::addActualDiagramComplexInputPort | ( | std::string | portName | ) |
Definition at line 197 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::addComplexInputPort().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnAddComplexBoxInput().
00198 { 00199 _actual->addComplexInputPort(portName); 00200 }
void bbtk::wxTabPanelsManager::addActualDiagramComplexOutputPort | ( | std::string | portName | ) |
Definition at line 204 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::addComplexOutputPort().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnAddComplexBoxOutput().
00205 { 00206 _actual->addComplexOutputPort(portName); 00207 }
void bbtk::wxTabPanelsManager::addNewTab | ( | wxString | tabName = _T("<void>") |
) |
Definition at line 61 of file wxTabPanelsManager.cxx.
References _actual, _lastId, _notebook, _panels, and bbtk::wxGEditorTabPanel::setPanelsManager().
Referenced by copySelectedBBoxesToComplexDiagram(), bbtk::wxGUIEditorGraphicBBS::OnCreateNewTab(), bbtk::wxGUIEditorGraphicBBS::OnOpenBBS(), bbtk::wxGUIEditorGraphicBBS::OnOpenDiagram(), and wxTabPanelsManager().
00062 { 00063 printf("EED wxTabPanelsManager::addNewTab 0\n"); 00064 00065 _lastId++; 00066 wxGEditorTabPanel *newPanel = new wxGEditorTabPanel(_notebook,_lastId); 00067 newPanel->setPanelsManager(this); 00068 _panels[_lastId] = newPanel; 00069 _actual = newPanel; 00070 00071 _notebook->AddPage(newPanel, tabName ,true); 00072 00073 printf("EED wxTabPanelsManager::addNewTab 1\n"); 00074 }
void bbtk::wxTabPanelsManager::centerViewActualDiagram | ( | ) |
Definition at line 136 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::centerView().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnCenterViewActualDiagram().
00137 { 00138 _actual->centerView(); 00139 }
void bbtk::wxTabPanelsManager::copySelectedBBoxesToComplexDiagram | ( | ) |
Definition at line 211 of file wxTabPanelsManager.cxx.
References _actual, _parent, addNewTab(), bbtk::wxGEditorTabPanel::addObjects(), bbtk::wxGEditorTabPanel::getSelectedObjects(), bbtk::wxGUIEditorGraphicBBS::refreshGUIControls(), and setActualDiagramComplexBox().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnCopySelectedToComplexDiagram().
00212 { 00213 std::map<int,GObjectController*> mapSelected = _actual->getSelectedObjects(); 00214 addNewTab(); 00215 setActualDiagramComplexBox(true); 00216 _actual->addObjects(mapSelected); 00217 _parent->refreshGUIControls(); 00218 }
void bbtk::wxTabPanelsManager::deleteAllBoxesActualDiagram | ( | ) |
Definition at line 129 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::deleteAllBoxes().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnDeleteAllBoxesActualDiagram().
00130 { 00131 _actual->deleteAllBoxes(); 00132 }
void bbtk::wxTabPanelsManager::displayBlackBoxInfo | ( | std::string | packageName, | |
std::string | boxName | |||
) |
Definition at line 94 of file wxTabPanelsManager.cxx.
References _parent, and bbtk::wxGUIEditorGraphicBBS::displayBlackBoxInfo().
Referenced by bbtk::wxGEditorTabPanel::displayBlackBoxInfo().
00095 { 00096 _parent->displayBlackBoxInfo(packageName,boxName); 00097 }
void bbtk::wxTabPanelsManager::editBlackBox | ( | GBlackBoxModel * | bbmodel | ) |
Definition at line 122 of file wxTabPanelsManager.cxx.
References _parent, and bbtk::wxGUIEditorGraphicBBS::editBlackBox().
Referenced by bbtk::wxGEditorTabPanel::editBlackBox().
00123 { 00124 _parent->editBlackBox(bbmodel); 00125 }
std::string bbtk::wxTabPanelsManager::getActualComplexBoxBBS | ( | ) |
Definition at line 115 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::saveComplexBoxBBS().
Referenced by bbtk::wxGUIEditorGraphicBBS::SaveActualComplexBox().
00116 { 00117 return _actual->saveComplexBoxBBS(); 00118 }
std::string bbtk::wxTabPanelsManager::getActualDiagramBBS | ( | bool | wln = false |
) |
Definition at line 108 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::getDiagramBBS().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnExecuteActualDiagram(), and bbtk::wxGUIEditorGraphicBBS::SaveActualBBS().
00109 { 00110 return _actual->getDiagramBBS(wln); 00111 }
wxGEditorTabPanel * bbtk::wxTabPanelsManager::getActualTabPanel | ( | ) |
Definition at line 87 of file wxTabPanelsManager.cxx.
References _actual.
Referenced by bbtk::wxGUIEditorGraphicBBS::boxNameExists(), bbtk::wxGUIEditorGraphicBBS::OnClickBtnBox(), bbtk::wxGUIEditorGraphicBBS::OnClickBtnExecutableBox(), and bbtk::wxGUIEditorGraphicBBS::OnOpenBBS().
00088 { 00089 return _actual; 00090 }
wxAuiNotebook * bbtk::wxTabPanelsManager::getAuiNotebook | ( | ) |
Definition at line 81 of file wxTabPanelsManager.cxx.
References _notebook.
00082 { 00083 return _notebook; 00084 }
std::string bbtk::wxTabPanelsManager::GetAuthor | ( | ) |
Definition at line 318 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::GetAuthor().
00319 { 00320 return _actual->GetAuthor(); 00321 }
std::string bbtk::wxTabPanelsManager::GetCategory | ( | ) |
Definition at line 330 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::GetCategory().
00331 { 00332 return _actual->GetCategory(); 00333 }
std::string bbtk::wxTabPanelsManager::GetCbName | ( | ) |
Definition at line 282 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::GetCbName().
Referenced by bbtk::wxGUIEditorGraphicBBS::AskComplexBoxConfiguration().
00283 { 00284 return _actual->GetCbName(); 00285 }
std::string bbtk::wxTabPanelsManager::GetCbPackageName | ( | ) |
Definition at line 312 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::GetCbPackageName().
Referenced by bbtk::wxGUIEditorGraphicBBS::AskComplexBoxConfiguration().
00313 { 00314 return _actual->GetCbPackageName(); 00315 }
std::string bbtk::wxTabPanelsManager::GetCurrentTabPanelPath | ( | ) |
Definition at line 302 of file wxTabPanelsManager.cxx.
References _notebook, and bbtk::wxGEditorTabPanel::GetFullPath().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnSaveActualDiagram().
00303 { 00304 int id = _notebook->GetSelection(); 00305 wxGEditorTabPanel* auxPanel = (wxGEditorTabPanel*) _notebook->GetPage(id); 00306 return( auxPanel->GetFullPath( ) ); 00307 //return ( (wxGEditorTabPanel) _notebook->GetPage(id)->GetFullPath( ) ); 00308 }
std::string bbtk::wxTabPanelsManager::GetDescription | ( | ) |
Definition at line 324 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::GetDescription().
00325 { 00326 return _actual->GetDescription(); 00327 }
std::string bbtk::wxTabPanelsManager::GetNameTabPanel | ( | ) |
Definition at line 294 of file wxTabPanelsManager.cxx.
References _notebook.
Referenced by bbtk::wxGUIEditorGraphicBBS::OnRedo(), bbtk::wxGUIEditorGraphicBBS::OnSaveActualDiagram(), bbtk::wxGUIEditorGraphicBBS::OnUndo(), and bbtk::wxGUIEditorGraphicBBS::SaveTempActualDiagram().
00295 { 00296 int id = _notebook->GetSelection(); 00297 return crea::wx2std(_notebook->GetPageText(id)); 00298 }
int bbtk::wxTabPanelsManager::getNumActualSelectedObjects | ( | ) |
Definition at line 222 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::getNumSelectedObjects().
Referenced by bbtk::wxGUIEditorGraphicBBS::refreshGUIControls().
00223 { 00224 return _actual->getNumSelectedObjects(); 00225 }
unsigned short bbtk::wxTabPanelsManager::getRedoState | ( | std::string & | stre | ) |
Definition at line 177 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::getRedoState().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnRedo(), bbtk::wxGUIEditorGraphicBBS::OnUndo(), bbtk::wxGUIEditorGraphicBBS::refreshGUIControls(), and bbtk::wxGUIEditorGraphicBBS::SaveTempActualDiagram().
00178 { 00179 return _actual->getRedoState(stre); 00180 }
unsigned short bbtk::wxTabPanelsManager::getUndoState | ( | std::string & | stun | ) |
Definition at line 172 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::getUndoState().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnRedo(), bbtk::wxGUIEditorGraphicBBS::OnUndo(), bbtk::wxGUIEditorGraphicBBS::refreshGUIControls(), and bbtk::wxGUIEditorGraphicBBS::SaveTempActualDiagram().
00173 { 00174 return _actual->getUndoState(stun); 00175 }
bool bbtk::wxTabPanelsManager::isActualDiagramComplexBox | ( | ) |
Definition at line 183 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::isComplexBox().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnSaveActualDiagram(), bbtk::wxGUIEditorGraphicBBS::refreshGUIControls(), and bbtk::wxGUIEditorGraphicBBS::SaveCurrentDiagramAs().
00184 { 00185 return _actual->isComplexBox(); 00186 }
void bbtk::wxTabPanelsManager::loadDiagram | ( | ifstream & | inputStream, | |
const std::string & | path | |||
) |
Definition at line 150 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::loadDiagram().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnOpenDiagram().
00151 { 00152 _actual->loadDiagram(inputStream, path); 00153 }
void bbtk::wxTabPanelsManager::loadTempDiagram | ( | unsigned short | un | ) |
Definition at line 166 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::loadTempDiagram().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnRedo(), and bbtk::wxGUIEditorGraphicBBS::OnUndo().
00167 { 00168 _actual->loadTempDiagram(un); 00169 }
void bbtk::wxTabPanelsManager::OnTabChanged | ( | wxAuiNotebookEvent & | event | ) |
Definition at line 240 of file wxTabPanelsManager.cxx.
References _actual, _notebook, _panels, _parent, bbtk::wxGEditorTabPanel::getPanelId(), and bbtk::wxGUIEditorGraphicBBS::refreshGUIControls().
Referenced by wxTabPanelsManager().
00241 { 00242 int index = event.GetSelection(); 00243 wxGEditorTabPanel* tab = (wxGEditorTabPanel*)_notebook->GetPage(index); 00244 int id = tab->getPanelId(); 00245 _actual = _panels[id]; 00246 _parent->refreshGUIControls(); 00247 00248 }
void bbtk::wxTabPanelsManager::OnTabClose | ( | wxAuiNotebookEvent & | event | ) |
Definition at line 252 of file wxTabPanelsManager.cxx.
References _actual, _notebook, _panels, bbtk::wxGEditorTabPanel::deleteAllBoxes(), and bbtk::wxGEditorTabPanel::getPanelId().
Referenced by wxTabPanelsManager().
00253 { 00254 00255 std::cout<<"RaC wxTabPanelsManager::OnTabClose Start... "<<_panels.size()<<std::endl; 00256 int index = event.GetSelection(); 00257 00258 if(_panels.size()>0) 00259 { 00260 wxGEditorTabPanel* tab = (wxGEditorTabPanel*)_notebook->GetPage(index); 00261 int id = tab->getPanelId(); 00262 tab->deleteAllBoxes(); 00263 _panels.erase(id); 00264 00265 _notebook->RemovePage(index); 00266 00267 std::cout<<"RaC wxTabPanelsManager::OnTabClose IMPORTANT. The complete tab is not erased from memory... "<<std::endl; 00269 // TO FIX . RaC May 2012 - IMPORTANT. The complete tab is not erased from memory. 00270 // Only the objects are deleted and the tab is hidden 00271 // Execution problems when a tab is deleted using delete or DeletePage 00272 // delete tab; 00273 00274 map<int, wxGEditorTabPanel*>::iterator it = _panels.begin() ; 00275 _actual=(*it).second; 00276 00277 std::cout<<"RaC wxTabPanelsManager::OnTabClose End..."<< std::endl; 00278 } 00279 }
void bbtk::wxTabPanelsManager::saveActualDiagram | ( | std::string & | content, | |
const std::string & | path | |||
) |
Definition at line 143 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::saveDiagram().
Referenced by bbtk::wxGUIEditorGraphicBBS::SaveActualDiagram().
00144 { 00145 _actual->saveDiagram(content, path); 00146 }
void bbtk::wxTabPanelsManager::saveTempActualDiagram | ( | const std::string & | action | ) |
Definition at line 161 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::saveTempDiagram().
Referenced by bbtk::wxGUIEditorGraphicBBS::OnOpenDiagram(), and bbtk::wxGUIEditorGraphicBBS::SaveTempActualDiagram().
00162 { 00163 _actual->saveTempDiagram(action); 00164 }
void bbtk::wxTabPanelsManager::saveTempandUpdate | ( | const std::string & | action | ) |
Definition at line 156 of file wxTabPanelsManager.cxx.
References _parent, and bbtk::wxGUIEditorGraphicBBS::SaveTempActualDiagram().
Referenced by bbtk::wxGEditorTabPanel::saveTempandUpdate().
00157 { 00158 _parent->SaveTempActualDiagram(action); 00159 }
void bbtk::wxTabPanelsManager::setActualDiagramComplexBox | ( | bool | val | ) |
Definition at line 190 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::setComplexBox().
Referenced by copySelectedBBoxesToComplexDiagram(), and bbtk::wxGUIEditorGraphicBBS::OnClickBtnComplexBox().
00191 { 00192 _actual->setComplexBox(val); 00193 }
void bbtk::wxTabPanelsManager::SetAuthor | ( | std::string | author | ) |
Definition at line 349 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::SetAuthor().
00350 { 00351 _actual->SetAuthor( author ); 00352 }
void bbtk::wxTabPanelsManager::SetCategory | ( | std::string | category | ) |
Definition at line 356 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::SetCategory().
00357 { 00358 _actual->SetCategory( category ); 00359 }
void bbtk::wxTabPanelsManager::SetCbName | ( | std::string | cbName | ) |
Definition at line 336 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::SetCbName().
Referenced by bbtk::wxGUIEditorGraphicBBS::AskComplexBoxConfiguration().
00337 { 00338 _actual->SetCbName( cbName ); 00339 }
void bbtk::wxTabPanelsManager::SetCbPackageName | ( | std::string | packagename | ) |
Definition at line 342 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::SetCbPackageName().
Referenced by bbtk::wxGUIEditorGraphicBBS::AskComplexBoxConfiguration().
00343 { 00344 _actual->SetCbPackageName( packagename ); 00345 }
void bbtk::wxTabPanelsManager::SetDescription | ( | std::string | description | ) |
Definition at line 363 of file wxTabPanelsManager.cxx.
References _actual, and bbtk::wxGEditorTabPanel::SetDescription().
00364 { 00365 _actual->SetDescription( description ); 00366 }
void bbtk::wxTabPanelsManager::SetNameTabPanel | ( | wxString | tabpanelname | ) |
Definition at line 288 of file wxTabPanelsManager.cxx.
References _notebook.
Referenced by bbtk::wxGUIEditorGraphicBBS::OnRedo(), bbtk::wxGUIEditorGraphicBBS::OnSaveActualDiagram(), bbtk::wxGUIEditorGraphicBBS::OnUndo(), bbtk::wxGUIEditorGraphicBBS::SaveCurrentDiagramAs(), and bbtk::wxGUIEditorGraphicBBS::SaveTempActualDiagram().
00289 { 00290 int id = _notebook->GetSelection(); 00291 _notebook->SetPageText( id , tabpanelname ); 00292 }
void bbtk::wxTabPanelsManager::updateStatusBar | ( | std::string | textStatus | ) |
Definition at line 101 of file wxTabPanelsManager.cxx.
References _parent, and bbtk::wxGUIEditorGraphicBBS::updateStatusBar().
Referenced by bbtk::wxGEditorTabPanel::updateStatusBar().
00102 { 00103 _parent->updateStatusBar(textStatus); 00104 }
void bbtk::wxTabPanelsManager::VerifyLastTabPanel | ( | ) |
Definition at line 229 of file wxTabPanelsManager.cxx.
References _actual, and _notebook.
Referenced by bbtk::wxGEditorTabPanel::~wxGEditorTabPanel().
00230 { 00231 printf("wxTabPanelsManager::VerifyActualTabPanel %d \n", this->_notebook->GetPageCount() ); 00232 if (this->_notebook->GetPageCount()==0) 00233 { 00234 this->_actual=NULL; 00235 } 00236 }
Definition at line 133 of file wxTabPanelsManager.h.
Referenced by addActualDiagramComplexInputPort(), addActualDiagramComplexOutputPort(), addNewTab(), centerViewActualDiagram(), copySelectedBBoxesToComplexDiagram(), deleteAllBoxesActualDiagram(), getActualComplexBoxBBS(), getActualDiagramBBS(), getActualTabPanel(), GetAuthor(), GetCategory(), GetCbName(), GetCbPackageName(), GetDescription(), getNumActualSelectedObjects(), getRedoState(), getUndoState(), isActualDiagramComplexBox(), loadDiagram(), loadTempDiagram(), OnTabChanged(), OnTabClose(), saveActualDiagram(), saveTempActualDiagram(), setActualDiagramComplexBox(), SetAuthor(), SetCategory(), SetCbName(), SetCbPackageName(), SetDescription(), and VerifyLastTabPanel().
int bbtk::wxTabPanelsManager::_lastId [private] |
Definition at line 135 of file wxTabPanelsManager.h.
Referenced by addNewTab(), and wxTabPanelsManager().
wxAuiNotebook* bbtk::wxTabPanelsManager::_notebook [private] |
Definition at line 134 of file wxTabPanelsManager.h.
Referenced by addNewTab(), getAuiNotebook(), GetCurrentTabPanelPath(), GetNameTabPanel(), OnTabChanged(), OnTabClose(), SetNameTabPanel(), VerifyLastTabPanel(), and wxTabPanelsManager().
map<int, wxGEditorTabPanel*> bbtk::wxTabPanelsManager::_panels [private] |
Definition at line 132 of file wxTabPanelsManager.h.
Referenced by addNewTab(), OnTabChanged(), and OnTabClose().
Definition at line 131 of file wxTabPanelsManager.h.
Referenced by copySelectedBBoxesToComplexDiagram(), displayBlackBoxInfo(), editBlackBox(), OnTabChanged(), saveTempandUpdate(), updateStatusBar(), and wxTabPanelsManager().