]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/wizard/wizard.cpp
Always use icons with wxToolbook in the notebook sample.
[wxWidgets.git] / samples / wizard / wizard.cpp
index 1d9427753d9c76fcae640c9285ae02e44ff84b1c..94c95c08201052f7f30b4ec8bd1e45ff70a6a63d 100644 (file)
@@ -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))