91 void SetSize(
const wxRect& aRect )
override;
92 void Create( wxWindow* aParent, wxWindowID aId, wxEvtHandler* aEventHandler )
override;
94 wxGridCellEditor*
Clone()
const override
99 wxString GetValue()
const override;
101 void StartingKey( wxKeyEvent& event )
override;
102 void Show(
bool aShow, wxGridCellAttr *aAttr =
nullptr )
override;
103 void BeginEdit(
int aRow,
int aCol, wxGrid* aGrid )
override;
104 bool EndEdit(
int aRow,
int aCol,
const wxGrid*,
const wxString&, wxString* aNewVal )
override;
105 void ApplyEdit(
int aRow,
int aCol, wxGrid* aGrid )
override;
109 void onFocusLoss( wxFocusEvent& aEvent );
111 wxStyledTextCtrl* stc_ctrl()
const;
wxSize GetBestSize(wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, int row, int col) override
void Draw(wxGrid &aGrid, wxGridCellAttr &aAttr, wxDC &aDC, const wxRect &aRect, int aRow, int aCol, bool isSelected) override
GRID_CELL_ESCAPED_TEXT_RENDERER()
std::unique_ptr< wxValidator > m_validator
void SetSize(const wxRect &aRect) override
virtual void StartingKey(wxKeyEvent &event) override
virtual void SetValidator(const wxValidator &validator) override
void Draw(wxGrid &aGrid, wxGridCellAttr &aAttr, wxDC &aDC, const wxRect &aRect, int aRow, int aCol, bool isSelected) override
GRID_CELL_TEXT_RENDERER()
wxSize GetBestSize(wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, int row, int col) override