X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e4df4bfaf214faac6d4c7519f4aab5b8c7fd287..bd52bee1062faef26287d2f5a2595a9d8ee4d85a:/include/wx/listctrl.h?ds=sidebyside diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index 043e2380a6..eec8341ae9 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -16,6 +16,8 @@ #pragma interface "listctrlbase.h" #endif +#if wxUSE_LISTCTRL + // ---------------------------------------------------------------------------- // types // ---------------------------------------------------------------------------- @@ -339,5 +341,7 @@ typedef void (wxEvtHandler::*wxListEventFunction)(wxListEvent&); #define EVT_LIST_ITEM_MIDDLE_CLICK(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxListEventFunction) & fn, (wxObject *) NULL ), #define EVT_LIST_ITEM_ACTIVATED(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxListEventFunction) & fn, (wxObject *) NULL ), +#endif // wxUSE_LISTCTRL + #endif // _WX_LISTCTRL_H_BASE_