wxStaticBitmapXmlHandler::wxStaticBitmapXmlHandler()
: wxXmlResourceHandler()
{
+ AddWindowStyles();
}
wxObject *wxStaticBitmapXmlHandler::DoCreateResource()
{
- wxStaticBitmap *bmp = new wxStaticBitmap(m_ParentAsWindow,
+ wxStaticBitmap *bmp = new wxStaticBitmap(m_parentAsWindow,
GetID(),
- GetBitmap(_T("bitmap"), GetSize()),
+ GetBitmap(wxT("bitmap"), GetSize()),
GetPosition(), GetSize(),
GetStyle(),
GetName()
bool wxStaticBitmapXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("staticbitmap");
+ return IsOfClass(node, wxT("wxStaticBitmap"));
}