Postpone EnsureVisible() to idle as this sometimes seems to be required, fixes #12480: wxDataViewCtrl::EnsureVisible does not make item visible in some

circumstances on GTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2010-09-17 19:07:02 +00:00
parent b5b208a179
commit 3f53dd3a2f
2 changed files with 12 additions and 0 deletions

View File

@@ -200,6 +200,7 @@ private:
GtkWidget *m_treeview;
wxDataViewCtrlInternal *m_internal;
wxDataViewColumnList m_cols;
wxDataViewItem m_ensureVisibleDefered;
virtual void AddChildGTK(wxWindowGTK* child);
void GtkEnableSelectionEvents();