ENH: add options list for param dialog

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ic2dc62fae487b8c167ccb6d53572cba0fbc727c9
(cherry picked from commit d599757bf8541e3be6cdd7aeb9a15599eced586b)
This commit is contained in:
xun.zhang
2025-01-17 12:59:15 +08:00
committed by Noisyfox
parent 819e11733a
commit 0ad660b1d3
2 changed files with 18 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ private:
std::string m_app_key;
public:
TipsDialog(wxWindow *parent, const wxString &title, const wxString &description, std::string app_key = "", long style = wxOK);
TipsDialog(wxWindow *parent, const wxString &title, const wxString &description, std::string app_key = "", long style = wxOK, std::map<wxStandardID,wxString> option_map={});
Button *m_confirm{nullptr};
Button *m_cancel{nullptr};
wxPanel *m_top_line{nullptr};