recently checked in patch was ignorant to wxUSE_RESOURCES

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-11-03 21:36:01 +00:00
parent ea7682f015
commit c88040761c

View File

@ -86,10 +86,12 @@ wxWizardPage::wxWizardPage(wxWizard *parent,
{
if ( resource != NULL )
{
#if wxUSE_RESOURCES
if ( !LoadFromResource(this, resource) )
{
wxFAIL_MSG(wxT("wxWizardPage LoadFromResource failed!!!!"));
}
#endif // wxUSE_RESOURCES
}
m_PageBitmap = bitmap;