1 /* 2 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3 3 * http://www.gnu.org/licenses/lgpl-3.0.html 4 */ 5 6 #ifndef EDITTOOLDLG_H 7 #define EDITTOOLDLG_H 8 9 #include "scrollingdialog.h" 10 11 class cbTool; 12 class wxCommandEvent; 13 class wxUpdateUIEvent; 14 15 class EditToolDlg : public wxScrollingDialog 16 { 17 public: 18 EditToolDlg(wxWindow* parent, cbTool* tool); 19 ~EditToolDlg() override; 20 void EndModal(int retCode) override; 21 private: 22 void OnUpdateUI(wxUpdateUIEvent& event); 23 void OnBrowseCommand(wxCommandEvent& event); 24 void OnBrowseDir(wxCommandEvent& event); 25 26 cbTool* m_Tool; //!< the tool we are editing (setting up) 27 28 DECLARE_EVENT_TABLE() 29 }; 30 31 #endif // EDITTOOLDLG_H 32 33