// Purpose: XRC resource for wxStatusBar
// Author: Brian Ravnsgaard Riis
// Created: 2004/01/21
-// RCS-ID: $Id$
// Copyright: (c) 2004 Brian Ravnsgaard Riis
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxStatusBarXmlHandler::wxStatusBarXmlHandler()
:wxXmlResourceHandler()
{
+ XRC_ADD_STYLE(wxSTB_SIZEGRIP);
+ XRC_ADD_STYLE(wxSTB_SHOW_TIPS);
+ XRC_ADD_STYLE(wxSTB_ELLIPSIZE_START);
+ XRC_ADD_STYLE(wxSTB_ELLIPSIZE_MIDDLE);
+ XRC_ADD_STYLE(wxSTB_ELLIPSIZE_END);
+ XRC_ADD_STYLE(wxSTB_DEFAULT_STYLE);
+
+ // compat style name:
XRC_ADD_STYLE(wxST_SIZEGRIP);
+
AddWindowStyles();
}
style[i] = wxSB_FLAT;
else if (first == wxT("wxSB_RAISED"))
style[i] = wxSB_RAISED;
+ else if (first == wxT("wxSB_SUNKEN"))
+ style[i] = wxSB_SUNKEN;
else if (!first.empty())
{
ReportParamError