X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/446e5259d796ee4428ed90b5943c76df032095be..0a64bfdfd0c4bf305ea2882a3c5c1de62124a2e0:/include/wx/msw/listbox.h diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index f17e4a394c..43350ba8aa 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -91,7 +91,7 @@ public: virtual int FindString(const wxString& s) const; virtual bool IsSelected(int n) const; - virtual void SetSelection(int n, bool select = TRUE); + virtual void DoSetSelection(int n, bool select); virtual int GetSelection() const; virtual int GetSelections(wxArrayInt& aSelections) const; @@ -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;