diff --git a/include/wx/msw/listctrl.h b/include/wx/msw/listctrl.h index 59c882ae76..0c59d4bb6d 100644 --- a/include/wx/msw/listctrl.h +++ b/include/wx/msw/listctrl.h @@ -173,7 +173,7 @@ public: }; // type of compare function for wxListCtrl sort operation -typedef int (*wxListCtrlCompare)(long item1, long item2, long sortData); +typedef int (CALLBACK *wxListCtrlCompare)(long item1, long item2, long sortData); class WXDLLEXPORT wxListCtrl: public wxControl {