X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a69cd967ad590541b83a6c52dca78b5b24f4037..c8e1af672f46e93ae2fe6d7f9d5b35a3d8d49c16:/include/wx/msw/listbox.h?ds=sidebyside diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index f1c58c0979..e8c921e6a4 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -32,7 +32,7 @@ #endif // wxUSE_OWNER_DRAWN // forward decl for GetSelections() -class wxArrayInt; +class WXDLLIMPEXP_BASE wxArrayInt; // ---------------------------------------------------------------------------- // List box control @@ -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 SetSelection(int n, bool select = true); 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();