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
This commit is contained in:
Julian Smart
2003-05-21 07:43:49 +00:00
parent c8ad57a77a
commit 984424b443

View File

@@ -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,