X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd318cd31b8fd9876af7ba5f4878b90f446bd0f5..00f553943850592fda4607bf8a34d458cf6ab522:/src/generic/listctrl.cpp?ds=sidebyside diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 33b696bd23..394e27505c 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4595,6 +4595,8 @@ bool wxGenericListCtrl::Create(wxWindow *parent, m_mainWin = (wxListMainWindow*) NULL; m_headerWin = (wxListHeaderWindow*) NULL; + m_headerHeight = 0; + if ( !(style & wxLC_MASK_TYPE) ) { style = style | wxLC_LIST;