From e7ca3220f3b6c88e7ae5993c43851e7f8ed8486a Mon Sep 17 00:00:00 2001 From: Sean D'Epagnier Date: Wed, 24 Aug 2016 16:01:53 -0400 Subject: [PATCH] improve wxqt behavior --- src/qt/frame.cpp | 1 + src/qt/stattext.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/frame.cpp b/src/qt/frame.cpp index 5f39c9f974..7b54944924 100644 --- a/src/qt/frame.cpp +++ b/src/qt/frame.cpp @@ -31,6 +31,7 @@ public: wxQtMainWindow( wxWindow *parent, wxFrame *handler ); private: + virtual bool focusNextPrevChild(bool) { return false; } }; // Central widget helper (container to show scroll bars and receive events): diff --git a/src/qt/stattext.cpp b/src/qt/stattext.cpp index c55254cf51..eed8c97515 100644 --- a/src/qt/stattext.cpp +++ b/src/qt/stattext.cpp @@ -51,7 +51,6 @@ bool wxStaticText::Create(wxWindow *parent, m_qtLabel->setBuddy( m_qtLabel ); m_qtLabel->setTextInteractionFlags( Qt::NoTextInteraction ); - m_qtLabel->setWordWrap( true ); return QtCreateControl( parent, id, pos, size, style, wxDefaultValidator, name ); }