]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx
#3084 bbGEditor Bug New Normal - Color refresh for inputs and outputs
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.cxx
index 1376327ad2bea388f833aa242751243f2d530bec..8d57977bdddad8338abfda8f21e5a1c845e0ad81 100644 (file)
@@ -111,18 +111,14 @@ wxGUIEditorGraphicBBS::wxGUIEditorGraphicBBS(wxFrame *parent)
 }
 
 //=========================================================================
-wxGUIEditorGraphicBBS::~wxGUIEditorGraphicBBS() {
-
-       printf("EED %p ~wxGUIEditorGraphicBBS()\n", this);
-
+wxGUIEditorGraphicBBS::~wxGUIEditorGraphicBBS() 
+{
        //EED02JUIN2010         delete _tabsMgr;
-
        _frameAUIMgr->UnInit();
        // FCY memory leaks
        delete _frameAUIMgr;
        delete _notebook;
        delete _tabsMgr;
-
 }
 
 //=========================================================================
@@ -1017,12 +1013,14 @@ void wxGUIEditorGraphicBBS::OnExportConsoleExecCommand(wxCommandEvent& event)
 
 //=========================================================================
 
-void wxGUIEditorGraphicBBS::refreshGUIControls() {
+void wxGUIEditorGraphicBBS::refreshGUIControls() 
+{
        std::string stundo;
        std::string stredo;
        //RaC2012 2ndHackFest Next line seems weird ... To keep in mind for other devels
        wxToolBar* toolbar = GetToolBar();
-       if (_tabsMgr->isActualDiagramComplexBox()) {
+       if (_tabsMgr->isActualDiagramComplexBox()) 
+       {
                toolbar->ToggleTool(ID_BTNCOMPLEXBOX, true);
                //toolbar->EnableTool(ID_ADDCOMPLEXBOXINPUT, true); RaC2012 2nd HackFest
                toolbar->EnableTool(ID_ADDCOMPLEXBOXOUTPUT, true);