]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed simple border style on wxListCtrl
authorJulian Smart <julian@anthemion.co.uk>
Wed, 21 May 2003 07:40:56 +0000 (07:40 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 21 May 2003 07:40:56 +0000 (07:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index 3086c45c9b62cd324237adca35d70400cd16d493..abfcab36dbe04ec1b5aeb464cf6bc2d28b709e44 100644 (file)
@@ -304,10 +304,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,