removing all updates specially for mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2003-08-30 20:30:53 +00:00
parent 917ad696df
commit 3066bdd62a

View File

@ -383,9 +383,6 @@ void wxScrollHelper::SetScrollbars(int pixelsPerUnitX,
else
{
// otherwise this has been done by AdjustScrollbars, above
#ifdef __WXMAC__
m_targetWindow->Update() ;
#endif
}
#endif // !__WXUNIVERSAL__
}
@ -513,10 +510,6 @@ void wxScrollHelper::HandleOnScroll(wxScrollWinEvent& event)
{
m_targetWindow->ScrollWindow(dx, dy, GetScrollRect());
}
#ifdef __WXMAC__
m_targetWindow->Update() ;
#endif
}
int wxScrollHelper::CalcScrollInc(wxScrollWinEvent& event)
@ -635,10 +628,6 @@ void wxScrollHelper::AdjustScrollbars()
return;
}
#ifdef __WXMAC__
m_targetWindow->Update();
#endif
int w = 0, h = 0;
int oldw, oldh;
@ -788,10 +777,6 @@ void wxScrollHelper::AdjustScrollbars()
else
m_targetWindow->Refresh(TRUE, GetScrollRect());
}
#ifdef __WXMAC__
m_targetWindow->Update();
#endif
}
void wxScrollHelper::DoPrepareDC(wxDC& dc)
@ -855,10 +840,6 @@ void wxScrollHelper::Scroll( int x_pos, int y_pos )
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);
@ -904,11 +885,6 @@ void wxScrollHelper::Scroll( int x_pos, int y_pos )
GetScrollRect() );
}
}
#ifdef __WXMAC__
m_targetWindow->Update();
#endif
}
void wxScrollHelper::EnableScrolling (bool x_scroll, bool y_scroll)