#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/log.h"
+ #include "wx/frame.h"
+ #include "wx/statusbr.h"
#endif
-#include "wx/frame.h"
-#include "wx/statusbr.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxStatusBarXmlHandler, wxXmlResourceHandler)
-wxStatusBarXmlHandler::wxStatusBarXmlHandler() :
- wxXmlResourceHandler()
+wxStatusBarXmlHandler::wxStatusBarXmlHandler()
+ :wxXmlResourceHandler()
{
XRC_ADD_STYLE(wxST_SIZEGRIP);
AddWindowStyles();
delete [] style;
}
+ CreateChildren(statbar);
+
if (m_parentAsWindow)
{
wxFrame *parentFrame = wxDynamicCast(m_parent, wxFrame);