X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92b929f0e18c5d17498ea0821eaaf5b2b8aeed04..516ed23a948380fab200457b5adb2907e0b180a0:/samples/wizard/wizard.cpp?ds=sidebyside diff --git a/samples/wizard/wizard.cpp b/samples/wizard/wizard.cpp index 1d9427753d..94c95c0820 100644 --- a/samples/wizard/wizard.cpp +++ b/samples/wizard/wizard.cpp @@ -389,7 +389,7 @@ MyWizard::MyWizard(wxFrame *frame, bool useSizer) Create(frame,wxID_ANY,wxT("Absolutely Useless Wizard"), wxBitmap(wiztest_xpm),wxDefaultPosition, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER); - SetIcon(wxIcon(sample_xpm)); + SetIcon(wxICON(sample)); // Allow the bitmap to be expanded to fit the page height if (frame->GetMenuBar()->IsChecked(Wizard_ExpandBitmap))