]> git.saurik.com Git - wxWidgets.git/commitdiff
No real changes, just remove an unnecessary variable assignment.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Sep 2012 15:47:03 +0000 (15:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Sep 2012 15:47:03 +0000 (15:47 +0000)
Initialize m_gtk_model with its correct value immediately, without setting it
to NULL first.

Closes #14673.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dataview.cpp

index ab6ad3f1ff72a325cbb2620f8a867b61414bb14d..625f4bd28e2bfdebadfd592fb9b6a13f9178e883 100644 (file)
@@ -3366,7 +3366,6 @@ wxDataViewCtrlInternal::wxDataViewCtrlInternal( wxDataViewCtrl *owner, wxDataVie
     m_owner = owner;
     m_wx_model = wx_model;
 
-    m_gtk_model = NULL;
     m_root = NULL;
     m_sort_order = GTK_SORT_ASCENDING;
     m_sort_column = -1;