KiCad PCB EDA Suite
Loading...
Searching...
No Matches
TEXTENTRY_TRICKS Struct Reference

Add cut/copy/paste to a wxTextEntry instance. More...

#include <textentry_tricks.h>

Static Public Member Functions

static void OnCharHook (wxTextEntry *aTextEntry, wxKeyEvent &aEvent)
 

Static Protected Member Functions

static bool isCtrl (int aChar, const wxKeyEvent &e)
 
static bool isShiftCtrl (int aChar, const wxKeyEvent &e)
 

Detailed Description

Add cut/copy/paste to a wxTextEntry instance.

While these are normally handled without our intervention, this is not always the case.

Definition at line 35 of file textentry_tricks.h.

Member Function Documentation

◆ isCtrl()

static bool TEXTENTRY_TRICKS::isCtrl ( int  aChar,
const wxKeyEvent &  e 
)
staticprotected

◆ isShiftCtrl()

static bool TEXTENTRY_TRICKS::isShiftCtrl ( int  aChar,
const wxKeyEvent &  e 
)
staticprotected

◆ OnCharHook()

void TEXTENTRY_TRICKS::OnCharHook ( wxTextEntry *  aTextEntry,
wxKeyEvent &  aEvent 
)
static

Definition at line 30 of file textentry_tricks.cpp.

Referenced by ACTION_MENU::OnMenuEvent().


The documentation for this struct was generated from the following files: