]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx
Properties panel and black box text info
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.cxx
index d6adae8528c1554746271ecc367f083529176dfa..88b6aaf6a665a415805927bdc73db65d4ea9a7cf 100644 (file)
@@ -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:"<<data<<" x:"<<x<<" y:"<<y<<endl;
+
          return true;
  
        }