X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/daebb44c74bdbdc8ce43bd4aa471774d92f35f02..a1b3b608321536701498310287bfd0c46010ff5a:/src/gtk/dataview.cpp?ds=inline diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index a679ac635a..9ff06f25be 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -18,13 +18,13 @@ #ifndef WX_PRECOMP #include "wx/log.h" + #include "wx/dcclient.h" + #include "wx/sizer.h" #endif #include "wx/stockitem.h" -#include "wx/dcclient.h" #include "wx/calctrl.h" #include "wx/popupwin.h" -#include "wx/sizer.h" #include "wx/gtk/private.h" #include "wx/gtk/win_gtk.h" @@ -1437,7 +1437,7 @@ bool wxDataViewCtrl::Create(wxWindow *parent, wxWindowID id, m_treeview = gtk_tree_view_new(); gtk_container_add (GTK_CONTAINER (m_widget), m_treeview); - + if (style & wxDV_MULTIPLE) { GtkTreeSelection *selection = gtk_tree_view_get_selection( GTK_TREE_VIEW(m_treeview) );