Fix typo with adding wxNO_BORDER to the native control.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier 2006-11-10 20:55:45 +00:00
parent 7c5190745f
commit 1934a64e10

View File

@ -627,7 +627,7 @@ bool wxListCtrl::Create(wxWindow *parent,
{ {
m_macIsUserPane = true; m_macIsUserPane = true;
if ( !wxWindow::Create(parent, id, pos, size, style & wxNO_BORDER, name) ) if ( !wxWindow::Create(parent, id, pos, size, style | wxNO_BORDER, name) )
return false; return false;
// since the generic control is a child, make sure we position it at 0, 0 // since the generic control is a child, make sure we position it at 0, 0