ENH:add "text to image" function in TextInput

jira: none
Change-Id: Ibdb57b74511432e81faa0c556bb6e639d5a174f5
(cherry picked from commit 09323aeed34f29f105b95d3d6a2c7a151e17e42a)
This commit is contained in:
zhou.xu
2025-01-15 12:18:58 +08:00
committed by Noisyfox
parent 2e8a5ecd87
commit 200a811dca
9 changed files with 78 additions and 11 deletions

View File

@@ -9,6 +9,7 @@ class TextInput : public wxNavigationEnabled<StaticBox>
wxSize labelSize;
ScalableBitmap icon;
ScalableBitmap icon_1;
StateColor label_color;
StateColor text_color;
wxTextCtrl * text_ctrl;
@@ -44,6 +45,8 @@ public:
void SetIcon(const wxString & icon);
void SetIcon_1(const wxString &icon);
void SetLabelColor(StateColor const &color);
void SetTextColor(StateColor const &color);