ENH: support DD_ITEM_STYLE_SPLIT_ITEM

jira: [STUDIO-12103]
Change-Id: Ic69b5076543066ad00bb0d13ffb4d13b57873d3a
(cherry picked from commit de14cfbac610436c36790c2200e1dbc580fa58c5)
This commit is contained in:
xin.zhang
2025-09-23 09:03:49 +08:00
committed by Noisyfox
parent 34e653d0a3
commit 2f1c7994bb
4 changed files with 73 additions and 12 deletions
+3
View File
@@ -11,6 +11,8 @@
#define DD_NO_TEXT 0x0002
#define DD_STYLE_MASK 0x0003
#define DD_ITEM_STYLE_SPLIT_ITEM 0x0001 // ----text----, text with horizontal line arounds
wxDECLARE_EVENT(EVT_DISMISS, wxCommandEvent);
class DropDown : public PopupWindow
@@ -27,6 +29,7 @@ public:
wxString alias{};
wxString tip{};
int flag{0};
int style{ 0 };// the style of item
};
private: