]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/listctrl/listtest.cpp
Update wxHtmlWindow documentation to refer to wxWebView.
[wxWidgets.git] / samples / listctrl / listtest.cpp
index b9539d55b08388b46efc540b5ff14d7c843f46b6..0536b200768f2df7177d69453a86ac65ccd7304f 100644 (file)
@@ -74,9 +74,9 @@ MyCompareFunction(wxIntPtr item1, wxIntPtr item2, wxIntPtr WXUNUSED(sortData))
 {
     // inverse the order
     if (item1 < item2)
-        return -1;
-    if (item1 > item2)
         return 1;
+    if (item1 > item2)
+        return -1;
 
     return 0;
 }