MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / ~TextEdit

Method ~TextEdit

src/Interface/TextEdit.cpp:50–58  ·  view source on GitHub ↗

* Deletes contents. */

Source from the content-addressed store, hash-verified

48 * Deletes contents.
49 */
50TextEdit::~TextEdit()
51{
52 delete _text;
53 delete _caret;
54 delete _timer;
55 // In case it was left focused
56 SDL_EnableKeyRepeat(0, SDL_DEFAULT_REPEAT_INTERVAL);
57 _state->setModal(0);
58}
59
60/**
61 * Passes events to internal components.

Callers

nothing calls this directly

Calls 1

setModalMethod · 0.80

Tested by

no test coverage detected