]> git.saurik.com Git - wxWidgets.git/commit
Don't refresh not yet realized widget in wxGTK wxDataViewCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Aug 2011 15:31:38 +0000 (15:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Aug 2011 15:31:38 +0000 (15:31 +0000)
commitb30ad9676b5b0b7b84fadc69831c09687bdefbc2
tree22a18667431d061e568dca8d6df6f76af9a94d71
parentdbab29b92575ae27e163a281315f45a11d3b74b1
Don't refresh not yet realized widget in wxGTK wxDataViewCtrl.

If the text of any of wxDataViewCtrl cells was set before the control was
realized (e.g. during its creation), the code tried to refresh the not yet
shown widget resulting in GTK+ errors.

Avoid this by only refreshing the tree if it's realized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/dataview.cpp