Improve wxTE_PROCESS_ENTER handling in wxUniv

This commit is contained in:
Kvaz1r
2021-08-07 09:56:02 +03:00
parent 5d1a936f73
commit e3acc50fbc
3 changed files with 49 additions and 4 deletions

View File

@@ -36,6 +36,7 @@ class WXDLLIMPEXP_FWD_CORE wxTextCtrlCommandProcessor;
#define wxACTION_TEXT_WORD_RIGHT wxT("wordright")
#define wxACTION_TEXT_PAGE_UP wxT("pageup")
#define wxACTION_TEXT_PAGE_DOWN wxT("pagedown")
#define wxACTION_TEXT_RETURN wxT("return")
// clipboard operations
#define wxACTION_TEXT_COPY wxT("copy")
@@ -451,6 +452,8 @@ protected:
bool DoCut();
bool DoPaste();
bool ClickDefaultButtonIfPossible();
private:
// all these methods are for multiline text controls only