X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/279338910fbf9be5229ec2ece0a896c71cc004f4..1ecffbff714ff707ded9266bf27c3347946cbcd9:/include/wx/list.h diff --git a/include/wx/list.h b/include/wx/list.h index cb08945a0a..c7d31658c4 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -349,7 +349,7 @@ private: // retrieved from it. #define WX_DECLARE_LIST_3(T, Tbase, name, nodetype) \ - typedef int (*wxSortFuncFor_##name)(const T *, const T *); \ + typedef int (*wxSortFuncFor_##name)(const T **, const T **); \ \ class WXDLLEXPORT nodetype : public wxNodeBase \ { \ @@ -438,7 +438,7 @@ private: (nodetype *)prev, (nodetype *)next, \ (T *)data, key); \ } \ - }; + } #define WX_DECLARE_LIST_2(elementtype, listname, nodename) \ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename)