Revert a workaround for Windows native border side-effect since latter is now fixed
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
This commit is contained in:
@@ -4309,10 +4309,7 @@ void wxPropertyGrid::RecalculateVirtualSize( int forceXPos )
|
||||
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();
|
||||
|
||||
|
Reference in New Issue
Block a user