ADD_STYLE( wxGA_VERTICAL );
ADD_STYLE( wxGA_PROGRESSBAR );
ADD_STYLE( wxGA_SMOOTH ); // windows only
+ AddWindowStyles();
}
wxObject *wxGaugeXmlHandler::DoCreateResource()
bool wxGaugeXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("gauge");
+ return IsOfClass(node, _T("wxGauge"));
}