git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51580
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
else // scroll the window
{
}
else // scroll the window
{
+ // Avoid scrolling visible parts of the screen on Mac
+#ifdef __WXMAC__
+ if (m_physicalScrolling && m_targetWindow->IsShownOnScreen())
+#else
if ( m_physicalScrolling )
if ( m_physicalScrolling )
{
wxCoord dx = 0,
dy = GetUnitsSize(GetVisibleBegin(), unitFirstOld);
{
wxCoord dx = 0,
dy = GetUnitsSize(GetVisibleBegin(), unitFirstOld);