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:
@@ -4150,6 +4150,11 @@ bool wxWindowMSW::HandlePrintClient(WXHDC hDC)
|
||||
if ( IsTopLevel() || InheritsBackgroundColour() )
|
||||
return false;
|
||||
|
||||
// sometimes we don't want the parent to handle it at all, instead
|
||||
// return whatever value this window wants
|
||||
if ( !MSWShouldPropagatePrintChild() )
|
||||
return MSWPrintChild(hDC, (wxWindow *)this);
|
||||
|
||||
for ( wxWindow *win = GetParent(); win; win = win->GetParent() )
|
||||
{
|
||||
if ( win->MSWPrintChild(hDC, (wxWindow *)this) )
|
||||
|
Reference in New Issue
Block a user