X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.cxx;h=88b6aaf6a665a415805927bdc73db65d4ea9a7cf;hb=1b3060e78b445e19d51933556fb072cc90e30c99;hp=d6adae8528c1554746271ecc367f083529176dfa;hpb=64fc9f949ff91d6e9d448ca0567e6205ee4d5be4;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx index d6adae8..88b6aaf 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx @@ -78,8 +78,21 @@ namespace bbtk { std::string packageName=""; std::string boxName=""; + + wxString foo( wxT(data) ); + char str[150]; + strcpy( str, (const char*)foo.mb_str(wxConvUTF8) ); + + char delims[] = ":"; + char *result = NULL; + result = strtok( str, delims ); + packageName += result; + + result = strtok( NULL, delims ); + boxName += result; + _sceneManager->createGBlackBox(x,y,packageName, boxName); - cout<<"RaC DyD:"<