Fixed simple border style on wxListCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-21 07:40:56 +00:00
parent 5024483dd0
commit b5db27fe1e

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