/////////////////////////////////////////////////////////////////////////////
// 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$
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();
}
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(),