diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 6d6b5dedf7..b64a098f24 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -1837,7 +1837,7 @@ void FormMain::PopulateGrid() // Use wxMyPropertyGridPage (see above) to test the // custom wxPropertyGridPage feature. - pgman->AddPage("Examples",wxNullBitmap,myPage); + pgman->AddPage("Examples", wxBitmapBundle(), myPage); PopulateWithExamples(); }