Add support Wayland

This commit is contained in:
lsv 2026-04-13 14:48:27 +05:00
parent 59d18e285c
commit 2d17f7096a
4 changed files with 18 additions and 5 deletions

View file

@ -41,9 +41,11 @@ ctlListView::ctlListView(wxWindow* p, int id, wxPoint pos, wxSize siz, long attr
storelongstring = false;
#ifdef __WXGTK__
if (id==CTL_STATUSLIST) {
SetBackgroundStyle(wxBG_STYLE_TRANSPARENT);
//SetBackgroundColour(wxTRANSPARENT);
//SetBackgroundStyle(wxBG_STYLE_PAINT);
if (iswayland) {
SetBackgroundColour(wxTRANSPARENT);
SetBackgroundStyle(wxBG_STYLE_PAINT);
} else
SetBackgroundStyle(wxBG_STYLE_TRANSPARENT);
}