+ SavePerspective();
+ }
+ //================================================================
+
+ //================================================================
+ void WxGUIScriptingInterface::SavePerspective()
+ {
+ // std::cout << "Saving configuration..."<<std::endl;
+ std::string conf = wx2std(m_mgr.SavePerspective());
+ std::string fname = Utilities::MakeUserSettingsFullFileName("bbStudio.aui");
+ std::ofstream f;
+ f.open(fname.c_str(), std::ios::out );
+ f << conf << std::endl;
+
+ int x,y;
+ GetPosition(&x,&y);
+ f << x << " " << y << std::endl;
+
+
+ int w,h;
+ GetSize(&w,&h);
+
+ f << w << " " << h << std::endl;
+
+ f.close();