Added template for the handle of the TextCtrl's focus event

This commit is contained in:
YuSanka 2018-12-11 13:57:50 +01:00
parent d7bc1410ee
commit e1cea03cda
6 changed files with 36 additions and 0 deletions

View file

@ -71,6 +71,11 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
m_og->set_value(opt_key, double_to_string(0.0));
};
m_og->m_set_focus = [this](const std::string& opt_key)
{
wxGetApp().plater()->canvas3D()->handle_sidebar_focus_event(opt_key);
};
ConfigOptionDef def;
// Objects(sub-objects) name