//=========================================================================
wxGEditorTabPanel::~wxGEditorTabPanel()
{
- delete _sceneManager;
+ _sceneManager->disconnectDrop();
}
//=========================================================================
bool wxGEditorTabPanel::OnDropText(wxCoord x, wxCoord y, const wxString& data)
{
- _sceneManager->createGBlackBox();
+ std::string packageName="";
+ std::string boxName="";
+ _sceneManager->createGBlackBox(x,y,packageName, boxName);
cout<<"RaC DyD:"<<data<<" x:"<<x<<" y:"<<y<<endl;
return true;
-
+
}
//=========================================================================