Don't use generic wxListCtrl style for wxListMainWindow.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jun 2012 21:41:50 +0000 (21:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jun 2012 21:41:50 +0000 (21:41 +0000)
commit1c0a0736a301174572c2f3ef65db9c59456ace05
tree7690c4bb9b5a4a2562c369d2150b5e7fab4a92ce
parentac6d7c66e0e03c84d36eab659555422d9486c549
Don't use generic wxListCtrl style for wxListMainWindow.

This resulted in double border around wxListCtrl contents in wxOSX and almost
certainly other ports except wxGTK for which we already had an explicit
preprocessor check in the generic list control code. Remove it and simply
don't use any wxListCtrl-specific styles, including borders, for its main
window as it doesn't make any sense.

Closes #3701.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/private/listctrl.h
src/generic/listctrl.cpp