Blame 0001-Fix-a-wxAssert-when-showing-the-Command-line-termina.patch

1501b8
From ad558ca953b635f4491973cfe63b6d78cb696f1c Mon Sep 17 00:00:00 2001
1501b8
From: dghart <dghart@users.sourceforge.net>
1501b8
Date: Sun, 13 Feb 2022 14:12:51 +0000
1501b8
Subject: [PATCH] Fix a wxAssert when showing the Command-line terminal
1501b8
1501b8
"Must have wxTE_PROCESS_ENTER for wxEVT_TEXT_ENTER to work", though it seemed fine without it :/
1501b8
---
1501b8
 Tools.h | 2 +-
1501b8
 1 file changed, 1 insertion(+), 1 deletion(-)
1501b8
1501b8
diff --git a/Tools.h b/Tools.h
1501b8
index e01a97f..e1beb36 100644
1501b8
--- a/Tools.h
1501b8
+++ b/Tools.h
1501b8
@@ -378,7 +378,7 @@ class TerminalEm : public TextCtrlBase    // Derive from this so that (in gtk2)
1501b8
 public:
1501b8
 TerminalEm(){};
1501b8
 TerminalEm(wxWindow* parent, wxWindowID id, const wxString& value = wxT(""), bool multline = true,  const wxPoint& pos = wxDefaultPosition,
1501b8
-           const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator,  const wxString& name = wxT("TerminalEm"))
1501b8
+           const wxSize& size = wxDefaultSize, long style = wxTE_PROCESS_ENTER, const wxValidator& validator = wxDefaultValidator,  const wxString& name = wxT("TerminalEm"))
1501b8
             :     TextCtrlBase(parent, id, value, multline, pos, size, style, validator, name), multiline(multline) { Init(); }
1501b8
 ~TerminalEm();
1501b8
 void Init();                                               // Do the ctor work here, as otherwise wouldn't be done under xrc
1501b8
-- 
1501b8
2.37.2
1501b8