FIX: [STUDIO-1011] windows can not scroll in inactivate window

Change-Id: Ib09e58f4637d632625bf7bd484fd26319630cdb2
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2022-12-15 04:38:15 -05:00
1 parent 05904e3770
commit 9b10b1438c
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ DropDown::DropDown(wxWindow * parent,
void DropDown::Create(wxWindow * parent,
long style)
{
wxPopupTransientWindow::Create(parent);
wxPopupTransientWindow::Create(parent, wxPU_CONTAINS_CONTROLS);
SetBackgroundStyle(wxBG_STYLE_PAINT);
SetBackgroundColour(*wxWHITE);
state_handler.attach({&border_color, &text_color, &selector_border_color, &selector_background_color});