MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / OnSave

Method OnSave

src/gui/texteditorwindow.cc:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void TextEditorWindow::OnSave(wxCommandEvent&)
47{
48 EditorSaveEvent event(EDITOR_SAVE_EVENT, GetId());
49 event.SetEventObject(this);
50 event.text = textControl->GetValue();
51 ProcessWindowEvent(event);
52
53 Destroy();
54}
55
56void TextEditorWindow::OnCancel(wxCommandEvent&)
57{

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.80

Tested by

no test coverage detected