]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / src / msw / listbox.cpp
index c799cf3479f025848aab58b9bece27e74b1389f0..ffe24da141f4f5ce0e96dfad1339a2916f6b32b2 100644 (file)
@@ -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++ )
     {