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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user