From 984424b443a2161169c1b2b947ba068b4b1c045e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 21 May 2003 07:43:49 +0000 Subject: [PATCH] Fixed wxListCtrl simple border git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 81ab5d9f0c..e4e1b337b6 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -321,10 +321,11 @@ bool wxListCtrl::DoCreateControl(int x, int y, int w, int h) DWORD wstyle = m_baseStyle; WXDWORD exStyle = 0; - (void) MSWGetStyle(GetWindowStyle(), & exStyle) ; + WXDWORD standardStyle = MSWGetStyle(GetWindowStyle(), & exStyle) ; long oldStyle = 0; // Dummy wstyle |= ConvertToMSWStyle(oldStyle, m_windowStyle); + wstyle |= standardStyle; // Create the ListView control. m_hWnd = (WXHWND)CreateWindowEx(exStyle,