X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31582e4e11d504a28461d62b05411202d3a906d0..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/msw/listbox.cpp diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index c799cf3479..ffe24da141 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -174,6 +174,10 @@ bool wxListBox::Create(wxWindow *parent, return false; } + // Necessary to prevent scroll problems within a notebook with Windows + // effects enabled + SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)); + // initialize the contents for ( int i = 0; i < n; i++ ) {