+ class ListConfigDialog: public wxDialog
+ {
+ public:
+
+ typedef creaButtonContainer::model::TFunctor TFunctor;
+ typedef creaButtonContainer::view::ListWx ListWx;
+
+ public:
+
+ ListConfigDialog(wxWindow* parent, wxWindowID id, const wxString& title,
+ ListWx* modelList, ListWx* currentList);
+ ~ListConfigDialog();
+
+ void
+ OnAdd(wxCommandEvent& event);
+ void
+ OnDelete(wxCommandEvent& event);
+ void
+ OnMoveUp(wxCommandEvent& event);
+ void
+ OnMoveDown(wxCommandEvent& event);
+ void
+ OnOk(wxCommandEvent& event);
+ void
+ OnCancel(wxCommandEvent& event);
+
+ private:
+ //todo change it to wxBitmap
+ wxButton* buttonAdd;
+ wxButton* buttonDel;
+ wxButton* okButton;
+ wxButton* cancelButton;
+ wxButton* upButton;
+ wxButton* downButton;
+ //
+ ListWx* m_OriginalListWx; // Original list
+ ListWx* m_CurrentListWx; //Configurable list
+ };
+ }