EVT_RIGHT_DOWN(WxGUIBlackBoxList::OnRightClick)
END_EVENT_TABLE()
- int wxCALLBACK MyCompareFunction(long item1, long item2, long WXUNUSED(sortData))
- {
+int wxCALLBACK MyCompareFunction(long item1, long item2, long WXUNUSED(sortData))
+{
// inverse the order
if (item1 < item2)
- return -1;
+ {
+ return -1;
+ }
if (item1 > item2)
- return 1;
-
+ {
+ return 1;
+ }
return 0;
- }
+}
// WxGUIBlackBoxList
WxGUIBlackBoxList::WxGUIBlackBoxList(wxWindow *parent,