More patches from FM to clean up after moving contribs. Also removes
use of wxUSE_RESOURCES git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -125,31 +125,17 @@ void wxWizardPage::Init()
|
||||
}
|
||||
|
||||
wxWizardPage::wxWizardPage(wxWizard *parent,
|
||||
const wxBitmap& bitmap,
|
||||
const wxChar *resource)
|
||||
const wxBitmap& bitmap)
|
||||
{
|
||||
Create(parent, bitmap, resource);
|
||||
Create(parent, bitmap);
|
||||
}
|
||||
|
||||
bool wxWizardPage::Create(wxWizard *parent,
|
||||
const wxBitmap& bitmap,
|
||||
const wxChar *resource)
|
||||
const wxBitmap& bitmap)
|
||||
{
|
||||
if ( !wxPanel::Create(parent, wxID_ANY) )
|
||||
return false;
|
||||
|
||||
if ( resource != NULL )
|
||||
{
|
||||
#if wxUSE_WX_RESOURCES
|
||||
#if 0
|
||||
if ( !LoadFromResource(this, resource) )
|
||||
{
|
||||
wxFAIL_MSG(wxT("wxWizardPage LoadFromResource failed!!!!"));
|
||||
}
|
||||
#endif
|
||||
#endif // wxUSE_RESOURCES
|
||||
}
|
||||
|
||||
m_bitmap = bitmap;
|
||||
|
||||
// initially the page is hidden, it's shown only when it becomes current
|
||||
|
||||
Reference in New Issue
Block a user