Apply correct style variable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-12 10:09:40 +00:00
parent 2b312fb177
commit 5c8c438c33

View File

@@ -192,7 +192,7 @@ bool wxListBox::Create(wxWindow *parent,
wstyle |= LBS_NOINTEGRALHEIGHT;
WXDWORD exStyle = 0;
(void) MSWGetStyle(style, & exStyle) ;
(void) MSWGetStyle(m_windowStyle, & exStyle) ;
m_hWnd = (WXHWND)::CreateWindowEx(exStyle, wxT("LISTBOX"), NULL,
wstyle | WS_CHILD,