From df0787b66229e2b5e26cabf9f62044563ab15961 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 19 Sep 2003 12:04:52 +0000 Subject: [PATCH] use wxTAB_TRAVERSAL style for panels and frame git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/widgets.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/samples/widgets/widgets.cpp b/samples/widgets/widgets.cpp index 793f15b039..e9aed3c767 100644 --- a/samples/widgets/widgets.cpp +++ b/samples/widgets/widgets.cpp @@ -228,7 +228,12 @@ bool WidgetsApp::OnInit() // ---------------------------------------------------------------------------- WidgetsFrame::WidgetsFrame(const wxString& title) - : wxFrame(NULL, -1, title, wxPoint(0, 50), wxDefaultSize, wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE|wxCLIP_CHILDREN) + : wxFrame(NULL, -1, title, + wxPoint(0, 50), wxDefaultSize, + wxDEFAULT_FRAME_STYLE | + wxNO_FULL_REPAINT_ON_RESIZE | + wxCLIP_CHILDREN | + wxTAB_TRAVERSAL) { // init everything m_lboxLog = (wxListBox *)NULL; @@ -358,7 +363,11 @@ WidgetsPageInfo::WidgetsPageInfo(Constructor ctor, const wxChar *label) // ---------------------------------------------------------------------------- WidgetsPage::WidgetsPage(wxNotebook *notebook) - : wxPanel(notebook, -1, wxDefaultPosition, wxDefaultSize, wxNO_FULL_REPAINT_ON_RESIZE|wxCLIP_CHILDREN) + : wxPanel(notebook, -1, + wxDefaultPosition, wxDefaultSize, + wxNO_FULL_REPAINT_ON_RESIZE | + wxCLIP_CHILDREN | + wxTAB_TRAVERSAL) { } -- 2.47.2