From b004e36b586d36583a392356d707722954c6ba27 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Mon, 13 Feb 2017 15:26:05 +1300 Subject: [PATCH] Reenable selection of text in cavern log window This reverts 8c207179b45eef7d67db147922001b117084c230. Selection was disabled because it seemed you couldn't actually copy selected text to the clipboard, but this actually works fine for me, both with current git master with the change reverted, and with the commit before the original change. --- src/cavernlog.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cavernlog.cc b/src/cavernlog.cc index e99607a2..29a60b5f 100644 --- a/src/cavernlog.cc +++ b/src/cavernlog.cc @@ -258,8 +258,7 @@ wxString get_command_path(const wxChar * command_name) } CavernLogWindow::CavernLogWindow(MainFrm * mainfrm_, const wxString & survey_, wxWindow * parent) - : wxHtmlWindow(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, - wxHW_DEFAULT_STYLE|wxHW_NO_SELECTION), + : wxHtmlWindow(parent), mainfrm(mainfrm_), cavern_out(NULL), highlight(NULL), link_count(0), end(buf), init_done(false), survey(survey_) #ifdef CAVERNLOG_USE_THREADS -- 2.11.4.GIT