]> git.saurik.com Git - wxWidgets.git/commitdiff
wxTAB_TRAVERSAL is default style for wxPanels from XRC
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 May 2001 22:22:39 +0000 (22:22 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 May 2001 22:22:39 +0000 (22:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/xml/xh_panel.cpp

index 2c870618e5e0d43ee13a147109442e169fc65fe6..71c6998b0b1c0d32b0d5cd5c4c7c220c81310547 100644 (file)
@@ -42,13 +42,13 @@ wxObject *wxPanelXmlHandler::DoCreateResource()
         panel = new wxPanel(m_parentAsWindow,
                                  GetID(),
                                  GetPosition(), GetSize(),
-                                 GetStyle(wxT("style"), 0),
+                                 GetStyle(wxT("style"), wxTAB_TRAVERSAL),
                                  GetName());
     else
         panel->Create(m_parentAsWindow,
                                  GetID(),
                                  GetPosition(), GetSize(),
-                                 GetStyle(wxT("style"), 0),
+                                 GetStyle(wxT("style"), wxTAB_TRAVERSAL),
                                  GetName());
     SetupWindow(panel);
     CreateChildren(panel);