41 TEXT_CTRL_EVAL( wxWindow* aParent, wxWindowID aId,
const wxString& aValue = wxEmptyString,
42 const wxPoint& aPos = wxDefaultPosition,
const wxSize& aSize = wxDefaultSize,
wxTextCtrl wrapper to handle math expression evaluation.
void onTextFocusLost(wxFocusEvent &aEvent)
NUMERIC_EVALUATOR m_eval
< Numeric expression evaluator
virtual ~TEXT_CTRL_EVAL()
void onTextEnter(wxCommandEvent &aEvent)
void SetValue(const wxString &aValue) override
Set a new value in evaluator buffer, and display it in the wxTextCtrl.
void onTextFocusGet(wxFocusEvent &aEvent)