/// Callback when first item edition ends
void OnEndLabelEdit(wxListEvent& event);
+ /// Callback when the user needs the items sorted
+ void OnPopupSort(wxCommandEvent& event);
+
+ ///Callback when the user need the items filtered
+ void OnPopupFilter(wxCommandEvent& event);
+
+
private:
/// The struct holding the data for one level
/// Holds the wx control and other data
void CreateColorPalette();
///Selects the lowest level (images)
void SelectLowerLevel();
+ ///Sorts items
+ void OnSort(int level);
+
/// Currently Selected Column
///Boolean declaring if the last level selection has been made
bool mSelectionMade;
bool mProcess;
+ wxMenu* menu;
+ wxObject* senderCtrl;
+ int mAscendingID;
+ int mDescendingID;
+ int mFilterID;
DECLARE_EVENT_TABLE()
};