]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
compilation fixes
[wxWidgets.git] / include / wx / list.h
index cb08945a0a7b1e3456422bce8ac62543c76667e6..c7d31658c49aeebb16c9001e121ac62abc72e053 100644 (file)
@@ -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)