Use empty wxBitmapBundle instead of wxNullBitmap as an argument

Pass explicitly wxBitmapBundle instead of wxBitmap to
wxPropertyGridManager::AddPage to avoid implicit conversion from wxBitmap
to wxBitmapBundle.
This commit is contained in:
Artur Wieczorek
2021-11-17 22:53:54 +01:00
parent d156058d41
commit 6b7712bc14

View File

@@ -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();
}