KiCad PCB EDA Suite
|
This class works around a bug in wxGrid where the first keystroke doesn't get sent through the validator if the editor wasn't already open. More...
#include <validators.h>
Public Member Functions | |
GRID_CELL_TEXT_EDITOR () | |
virtual void | SetValidator (const wxValidator &validator) override |
virtual void | StartingKey (wxKeyEvent &event) override |
Protected Attributes | |
std::unique_ptr< wxValidator > | m_validator |
This class works around a bug in wxGrid where the first keystroke doesn't get sent through the validator if the editor wasn't already open.
Definition at line 57 of file validators.h.
GRID_CELL_TEXT_EDITOR::GRID_CELL_TEXT_EDITOR | ( | ) |
Definition at line 42 of file validators.cpp.
|
overridevirtual |
Definition at line 47 of file validators.cpp.
References m_validator.
Referenced by FP_TEXT_GRID_TABLE::FP_TEXT_GRID_TABLE(), and FIELDS_GRID_TABLE< T >::initGrid().
|
overridevirtual |
Definition at line 56 of file validators.cpp.
References m_validator.
|
protected |
Definition at line 66 of file validators.h.
Referenced by SetValidator(), and StartingKey().