X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3732409acc7a1e0b3cdb1f0a5dec7cc49a4b28b..550f38d74380256da7bfcb961d40ff86f677f77e:/include/wx/msw/listbox.h diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 5104928429..43350ba8aa 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -151,6 +151,13 @@ protected: virtual wxSize DoGetBestSize() const; + // under XP when using "transition effect for menus and tooltips" if we + // return true for WM_PRINTCLIENT here then it causes noticable slowdown + virtual bool MSWShouldPropagatePrintChild() + { + return false; + } + #if wxUSE_OWNER_DRAWN // control items wxListBoxItemsArray m_aItems;