/////////////////////////////////////////////////////////////////////////////
-// Name: xh_wizrd.cpp
+// Name: src/xrc/xh_wizrd.cpp
// Purpose: XRC resource for wxWizard
// Author: Vaclav Slavik
// Created: 2003/03/01
#if wxUSE_XRC && wxUSE_WIZARDDLG
#include "wx/xrc/xh_wizrd.h"
-#include "wx/log.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/log.h"
+#endif
+
#include "wx/wizard.h"
IMPLEMENT_DYNAMIC_CLASS(wxWizardXmlHandler, wxXmlResourceHandler)
GetText(wxT("title")),
GetBitmap(),
GetPosition());
+ SetupWindow(wiz);
wxWizard *old = m_wizard;
m_wizard = wiz;
{
if ( !m_instance )
{
- wxLogError(wxT("wxWizardPage is abstract class, must be subclassed"));
+ ReportError("wxWizardPage is abstract class and must be subclassed");
return NULL;
}