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