Applied patch [ 1218833 ] [wxMSW] wxListBox optimisation for XP

Also removed temporary fix to hardwire listbox background colour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-06-16 15:36:48 +00:00
parent 2ff53fd302
commit ce0e1aacbc
4 changed files with 20 additions and 4 deletions

View File

@@ -174,10 +174,6 @@ 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++ )
{