+void wxMaracasSurfaceRendering::addRemoveSurfaceBox(int propid, bool addremove){
+ try{
+ surrendmanager->addRemoveSurfaceBox(propid, addremove);
+ }
+ catch(char* str){
+ std::cout << "Exception : " << str << '\n';
+ wxMessageDialog* diag = new wxMessageDialog(this, wxString(str,wxConvUTF8 ), wxString(str,wxConvUTF8 ), wxICON_ERROR);
+ diag->ShowModal();
+ delete diag;
+ }
+}
+