X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/598ddd96f45745188c96f16757f7ceeaa0c8d70d..d51305e81eb593bedd92cda864671e15209c268f:/include/wx/msw/listbox.h diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index d0acdcb949..a901adf31c 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; @@ -143,6 +143,11 @@ public: protected: WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; + virtual WXHBRUSH MSWControlColor(WXHDC pDC) + { + return MSWControlColorSolid(pDC); + } + // free memory (common part of Clear() and dtor) void Free();