#include "interfMenuBar.h"
#include "interfMainPanel.h"
-#include <wxContourEventHandler.h>
+#include "PanelBullEyeOptions.h"
+//#include <wxContourEventHandler.h>
class interfNewContourMenu
: public interfMenuBar
virtual void initButtons(wxEvtHandler* evtHandler) ;
- void onCreateContourBullseye(wxEvtHandler* evtHandler);
-
private:
- wxContourEventHandler* eventHandler;
- PanelBullEyeOptions* panBull;
+ //wxContourEventHandler* eventHandler;
+ wxPanel* panBull;
bool created;
+ /**
+ ** This method is in charge of capturing the event when the button is clicked
+ **/
+ void onCreateContourBullseye(wxCommandEvent& event);
+ /**
+ ** This method is in charge of capturing the event when the button is clicked
+ **/
+ void onCreateContourSpline( wxCommandEvent& event );
+ /**
+ ** This method is in charge of capturing the event when the button is clicked
+ **/
+ void onCreateContourRectangle( wxCommandEvent& event );
+ /**
+ ** This method is in charge of capturing the event when the button is clicked
+ **/
+ void onCreateContourCircle( wxCommandEvent& event );
+ /**
+ ** This method is in charge of capturing the event when the button is clicked
+ **/
+ void onCreateContourLine( wxCommandEvent& event );
+ void onCreateContourPoints( wxCommandEvent& event );
};