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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user