ENH:modify wxTextCtrl to SpinInput

in ObjColorDialog
jira:STUDIO-9057

Change-Id: Iff2c6bcab29d34fdc881439c8cfb4f6c8d6d0838
(cherry picked from commit 1663a5550dc9e5d2882b33be381b4d35cb696ed1)
This commit is contained in:
zhou.xu
2024-12-16 15:12:07 +08:00
committed by Noisyfox
parent 61c112386e
commit f571b6342d
2 changed files with 10 additions and 12 deletions

View File

@@ -9,6 +9,7 @@
#include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/msgdlg.h>
#include "Widgets/SpinInput.hpp"
class Button;
class Label;
class ComboBox;
@@ -58,7 +59,7 @@ private:
wxPanel * m_page_simple = nullptr;
wxBoxSizer * m_sizer = nullptr;
wxBoxSizer * m_sizer_simple = nullptr;
wxTextCtrl *m_color_cluster_num_by_user_ebox{nullptr};
SpinInput * m_color_cluster_num_by_user_ebox{nullptr};
wxStaticText * m_warning_text{nullptr};
Button * m_quick_approximate_match_btn{nullptr};
Button * m_quick_add_btn{nullptr};