and former causes a positioning problem when the scrollbar is not at the home position and
the grid is resized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62345
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_width = width;
m_height = height;
- // Explicitly pass the position - works around a bug in wxWidgets when the property grid
- // has a native XP border and a contained window creeps up-and-left when size is set without
- // the position.
- m_canvas->SetSize( 0, 0, x, y );
+ m_canvas->SetSize( x, y );
m_pState->CheckColumnWidths();