Added "Remember my choice" checkbox to the message dialog after first clicking on parameter label in Settings tabs

This commit is contained in:
YuSanka 2020-11-24 10:03:15 +01:00
parent 4b2f9562ab
commit b2951cb43e
3 changed files with 74 additions and 10 deletions

View file

@ -95,6 +95,20 @@ public:
};
//-----------------------------------------------
// RememberChoiceDialog
//-----------------------------------------------
class RememberChoiceDialog : public wxDialog
{
wxCheckBox* m_remember_choice;
public:
RememberChoiceDialog(wxWindow* parent, const wxString& msg_text, const wxString& caption);
~RememberChoiceDialog() {}
bool remember_choice() const { return m_remember_choice->GetValue(); }
};
}}
#endif /* slic3r_OG_CustomCtrl_hpp_ */