X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..c27bcbd5a7cec9f03b15c69824da99c5bb75924a:/include/wx/msw/listbox.h diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 6bd5dfe5ed..a901adf31c 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -6,7 +6,7 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_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 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();