Finally fixed control scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2657,11 +2657,11 @@ void wxWindowMac::ScrollWindow(int dx, int dy, const wxRect *rect)
|
||||
{
|
||||
wxRect rc( x, y, w, h );
|
||||
if (rect->Intersects( rc ))
|
||||
child->SetSize( x + dx, y + dy, w, h );
|
||||
child->SetSize( x + dx, y + dy, w, h, wxSIZE_AUTO|wxSIZE_ALLOW_MINUS_ONE );
|
||||
}
|
||||
else
|
||||
{
|
||||
child->SetSize( x + dx, y + dy, w, h );
|
||||
child->SetSize( x + dx, y + dy, w, h, wxSIZE_AUTO|wxSIZE_ALLOW_MINUS_ONE );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2726,7 +2726,7 @@ void wxWindowMac::OnSetFocus( wxFocusEvent& event )
|
||||
Rect rect ;
|
||||
|
||||
m_peer->GetRect( &rect ) ;
|
||||
// auf den umgebenden Rahmen zurck
|
||||
// auf den umgebenden Rahmen zur<EFBFBD>ck
|
||||
InsetRect( &rect, -1 , -1 ) ;
|
||||
|
||||
wxTopLevelWindowMac* top = MacGetTopLevelWindow();
|
||||
|
Reference in New Issue
Block a user