summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9714ffa)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10672
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Adjust the scrollbars - new version.
void wxGenericScrolledWindow::AdjustScrollbars()
{
// Adjust the scrollbars - new version.
void wxGenericScrolledWindow::AdjustScrollbars()
{
+#ifdef __WXMAC__
+ m_targetWindow->MacUpdateImmediately();
+#endif
+
int w, h;
m_targetWindow->GetClientSize(&w, &h);
int w, h;
m_targetWindow->GetClientSize(&w, &h);
else
m_targetWindow->Refresh();
}
else
m_targetWindow->Refresh();
}
+
+#ifdef __WXMAC__
+ m_targetWindow->MacUpdateImmediately();
+#endif
}
// Override this function if you don't want to have wxGenericScrolledWindow
}
// Override this function if you don't want to have wxGenericScrolledWindow
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->MacUpdateImmediately();
+#endif
+
int w, h;
m_targetWindow->GetClientSize(&w, &h);
int w, h;
m_targetWindow->GetClientSize(&w, &h);
#ifdef __WXMAC__
m_targetWindow->MacUpdateImmediately();
#endif
#ifdef __WXMAC__
m_targetWindow->MacUpdateImmediately();
#endif
}
void wxGenericScrolledWindow::EnableScrolling (bool x_scroll, bool y_scroll)
}
void wxGenericScrolledWindow::EnableScrolling (bool x_scroll, bool y_scroll)