]> git.saurik.com Git - wxWidgets.git/commitdiff
Apply correct style variable
authorJulian Smart <julian@anthemion.co.uk>
Mon, 12 May 2003 10:09:40 +0000 (10:09 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 12 May 2003 10:09:40 +0000 (10:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listbox.cpp

index 655dea67220d5958f65c2bb76c92ce53f8ab5af9..6bcc8af1a88a01702d154815bbb2a1f9614dba9b 100644 (file)
@@ -159,7 +159,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 ,