// Adjust the scrollbars - new version.
void wxGenericScrolledWindow::AdjustScrollbars()
{
+#ifdef __WXMAC__
+ m_targetWindow->MacUpdateImmediately();
+#endif
+
int w, h;
m_targetWindow->GetClientSize(&w, &h);
else
m_targetWindow->Refresh();
}
+
+#ifdef __WXMAC__
+ m_targetWindow->MacUpdateImmediately();
+#endif
}
// 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;
+#ifdef __WXMAC__
+ m_targetWindow->MacUpdateImmediately();
+#endif
+
int w, h;
m_targetWindow->GetClientSize(&w, &h);
#ifdef __WXMAC__
m_targetWindow->MacUpdateImmediately();
#endif
+
}
void wxGenericScrolledWindow::EnableScrolling (bool x_scroll, bool y_scroll)