wxTAB_TRAVERSAL is default style for wxPanels from XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
00b2a5df95
commit
239229258a
@ -42,13 +42,13 @@ wxObject *wxPanelXmlHandler::DoCreateResource()
|
|||||||
panel = new wxPanel(m_parentAsWindow,
|
panel = new wxPanel(m_parentAsWindow,
|
||||||
GetID(),
|
GetID(),
|
||||||
GetPosition(), GetSize(),
|
GetPosition(), GetSize(),
|
||||||
GetStyle(wxT("style"), 0),
|
GetStyle(wxT("style"), wxTAB_TRAVERSAL),
|
||||||
GetName());
|
GetName());
|
||||||
else
|
else
|
||||||
panel->Create(m_parentAsWindow,
|
panel->Create(m_parentAsWindow,
|
||||||
GetID(),
|
GetID(),
|
||||||
GetPosition(), GetSize(),
|
GetPosition(), GetSize(),
|
||||||
GetStyle(wxT("style"), 0),
|
GetStyle(wxT("style"), wxTAB_TRAVERSAL),
|
||||||
GetName());
|
GetName());
|
||||||
SetupWindow(panel);
|
SetupWindow(panel);
|
||||||
CreateChildren(panel);
|
CreateChildren(panel);
|
||||||
|
Loading…
Reference in New Issue
Block a user