Use wxBitmapBundle in wxPropertyGrid

This commit is contained in:
Artur Wieczorek
2021-11-19 17:52:55 +01:00
parent 17c1bfc0f4
commit 87394856f5
11 changed files with 121 additions and 79 deletions

View File

@@ -5093,7 +5093,7 @@ bool wxPropertyGrid::HandleMouseMove( int x, unsigned int y,
int space = m_pState->GetColumnWidth(m_colHover);
int imageWidth = 0;
const wxBitmap& bmp = cell.GetBitmap();
const wxBitmap& bmp = cell.GetBitmap().GetBitmapFor(this);
if ( bmp.IsOk() )
{
imageWidth = bmp.GetWidth();