X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e3e485bc855bb6aa3e3e7978eac9fb5eea0287e..6c2cd2a2116c5eff1646e0acb7cad2c887300300:/src/xrc/xh_toolb.cpp diff --git a/src/xrc/xh_toolb.cpp b/src/xrc/xh_toolb.cpp index f89cc657c1..7e78d22156 100644 --- a/src/xrc/xh_toolb.cpp +++ b/src/xrc/xh_toolb.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/xrc/xh_toolb.cpp -// Purpose: XRC resource for wxBoxSizer +// Purpose: XRC resource for wxToolBar // Author: Vaclav Slavik // Created: 2000/08/11 // RCS-ID: $Id$ @@ -40,6 +40,12 @@ wxToolBarXmlHandler::wxToolBarXmlHandler() XRC_ADD_STYLE(wxTB_NOALIGN); XRC_ADD_STYLE(wxTB_HORZ_LAYOUT); XRC_ADD_STYLE(wxTB_HORZ_TEXT); + + XRC_ADD_STYLE(wxTB_TOP); + XRC_ADD_STYLE(wxTB_LEFT); + XRC_ADD_STYLE(wxTB_RIGHT); + XRC_ADD_STYLE(wxTB_BOTTOM); + AddWindowStyles(); } @@ -69,7 +75,7 @@ wxObject *wxToolBarXmlHandler::DoCreateResource() if (GetBool(wxT("toggle"))) { wxASSERT_MSG( kind == wxITEM_NORMAL, - _T("can't have both toggleable and radion button at once") ); + _T("can't have both toggle and radio button at once") ); kind = wxITEM_CHECK; } m_toolbar->AddTool(GetID(),