X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f048e32fcd5260f33fbebdafbe1a0deeda175419..4769a5627519643ba2cfd8be8e329f806901d025:/include/wx/msw/listbox.h diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 7f7f1b679c..0021cc304f 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -16,6 +16,8 @@ #pragma interface "listbox.h" #endif +#if wxUSE_LISTBOX + // ---------------------------------------------------------------------------- // simple types // ---------------------------------------------------------------------------- @@ -24,7 +26,7 @@ class WXDLLEXPORT wxOwnerDrawn; // define the array of list box items - #include + #include "wx/dynarray.h" WX_DEFINE_EXPORTED_ARRAY(wxOwnerDrawn *, wxListBoxItemsArray); #endif // wxUSE_OWNER_DRAWN @@ -113,9 +115,6 @@ public: virtual void SetupColours(); protected: - // do we have multiple selections? - bool HasMultipleSelection() const; - // free memory (common part of Clear() and dtor) void Free(); @@ -133,5 +132,7 @@ private: DECLARE_DYNAMIC_CLASS(wxListBox) }; +#endif // wxUSE_LISTBOX + #endif // _WX_LISTBOX_H_