]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.h
no message
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxBlackBoxEditionDialog.h
index be859b614ebc5387be52b39626be5e55fdefe8fd..c6a6b11327b8747dde47d6e0eab506138762d09f 100644 (file)
@@ -74,6 +74,7 @@ namespace bbtk
                ~wxBlackBoxEditionDialog();
 
                void constructBlackBoxEditionDialog();
+               bool isValidNameForABox(std::string boxname);
 
                void onClickOk(wxCommandEvent& event);
                void onClickClose(wxCommandEvent& event);
@@ -85,8 +86,14 @@ namespace bbtk
                std::vector<wxTextCtrl*> _lstValues;
                std::vector<wxStaticText*> _lstTypes;
                std::vector<wxStaticText*> _lstNames;
+               std::string _initBoxName;
+               wxTextCtrl* _boxName;
 
                GBlackBoxModel *_model;
+               
+               
+               void addDoubleQuotes(std::string &text);
+               void removeDoubleQuotes(std::string &text);
        
        protected: