Added update_tab_presets functions to m_cc_preset_choise filling

This commit is contained in:
YuSanka 2018-04-06 15:42:52 +02:00
parent e4b767e840
commit 004f9ba1e5
6 changed files with 74 additions and 19 deletions

View file

@ -36,7 +36,7 @@ class wxDataViewTreeCtrlComboPopup: public wxDataViewTreeCtrl, public wxComboPop
static const unsigned int DefaultItemHeight;
wxString m_text;
int m_cnt_open_items=2;
int m_cnt_open_items{0};
public:
virtual bool Create(wxWindow* parent);
@ -47,6 +47,7 @@ public:
virtual void OnKeyEvent(wxKeyEvent& evt);
void OnDataViewTreeCtrlSelection(wxCommandEvent& evt);
void SetItemsCnt(int cnt) { m_cnt_open_items = cnt; }
};
#endif // slic3r_GUI_wxExtensions_hpp_