git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26456
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// ... and don't do anything (avoiding flicker) if it's already ok
if ( x == currentX && y == currentY &&
// ... and don't do anything (avoiding flicker) if it's already ok
if ( x == currentX && y == currentY &&
- width == currentW && height == currentH )
+ width == currentW && height == currentH && ( height != -1 && width != -1 ) )
{
// TODO REMOVE
MacRepositionScrollBars() ; // we might have a real position shift
{
// TODO REMOVE
MacRepositionScrollBars() ; // we might have a real position shift