git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23305
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
else
{
// otherwise this has been done by AdjustScrollbars, above
else
{
// otherwise this has been done by AdjustScrollbars, above
-#ifdef __WXMAC__
- m_targetWindow->Update() ;
-#endif
}
#endif // !__WXUNIVERSAL__
}
}
#endif // !__WXUNIVERSAL__
}
{
m_targetWindow->ScrollWindow(dx, dy, GetScrollRect());
}
{
m_targetWindow->ScrollWindow(dx, dy, GetScrollRect());
}
-
-#ifdef __WXMAC__
- m_targetWindow->Update() ;
-#endif
}
int wxScrollHelper::CalcScrollInc(wxScrollWinEvent& event)
}
int wxScrollHelper::CalcScrollInc(wxScrollWinEvent& event)
-#ifdef __WXMAC__
- m_targetWindow->Update();
-#endif
-
int w = 0, h = 0;
int oldw, oldh;
int w = 0, h = 0;
int oldw, oldh;
else
m_targetWindow->Refresh(TRUE, GetScrollRect());
}
else
m_targetWindow->Refresh(TRUE, GetScrollRect());
}
-
-#ifdef __WXMAC__
- m_targetWindow->Update();
-#endif
}
void wxScrollHelper::DoPrepareDC(wxDC& dc)
}
void wxScrollHelper::DoPrepareDC(wxDC& dc)
if (((x_pos == -1) || (x_pos == m_xScrollPosition)) &&
((y_pos == -1) || (y_pos == m_yScrollPosition))) return;
if (((x_pos == -1) || (x_pos == m_xScrollPosition)) &&
((y_pos == -1) || (y_pos == m_yScrollPosition))) return;
-#ifdef __WXMAC__
- m_targetWindow->Update();
-#endif
-
int w, h;
GetTargetSize(&w, &h);
int w, h;
GetTargetSize(&w, &h);
-
-#ifdef __WXMAC__
- m_targetWindow->Update();
-#endif
-
}
void wxScrollHelper::EnableScrolling (bool x_scroll, bool y_scroll)
}
void wxScrollHelper::EnableScrolling (bool x_scroll, bool y_scroll)