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:
parent
ea7682f015
commit
c88040761c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user