]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx
Documentation of the wxLibrary and kernelLibrary
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.cxx
index cb3231b87cd2bae070306cc4821441059f8ef675..0b97c8d07c933d3dcc6740989f4615531f33fc4c 100644 (file)
@@ -328,14 +328,6 @@ namespace bbtk
 
        //=========================================================================
 
-       void wxGUIEditorGraphicBBS::editDiagramParameters(wxVtkSceneManager* scene)
-       {
-               wxBlackBoxEditionDialog* dialog = new wxBlackBoxEditionDialog(this,scene);
-               dialog->Show();
-       }
-
-       //=========================================================================
-
        void wxGUIEditorGraphicBBS::updateStatusBar(std::string textStatus)
        {
                SetStatusText(crea::std2wx(textStatus));
@@ -448,8 +440,8 @@ namespace bbtk
                }               
 
                if(!cbName.empty())
-               {       
-                       wxFileDialog * saveFileDialog = new wxFileDialog( this , _T("Save Complex Box BBS") ,_T(""), wxString( cbName.c_str(), wxConvUTF8),_T(""), wxSAVE | wxOVERWRITE_PROMPT);
+               {                               
+                       wxFileDialog * saveFileDialog = new wxFileDialog(this ,wxT("Save Complex Box BBS") ,wxEmptyString, wxString( cbName.c_str(), wxConvUTF8),wxT("*.bbs"), wxSAVE | wxOVERWRITE_PROMPT);
                        if (saveFileDialog->ShowModal() == wxID_OK)
                        {
                                wxString fileName = saveFileDialog->GetPath();