Fix assert during separator items creation introduced by r64226.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 7 May 2010 23:38:26 +0000 (23:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 7 May 2010 23:38:26 +0000 (23:38 +0000)
commita104022931420a383fb7274b1267807e6d490bf1
tree51ef9d2e9ca1ddd0b1a46d73cbc7e39892d76bc5
parentfd6e15974ce2488ba7702658b8daf2a679f62984
Fix assert during separator items creation introduced by r64226.

Add separators with correct kind, setting m_kind doesn't work any more because
it's overwritten below.

Also add a comment explaining why is overriding the user-specified kind the
right thing to do here.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/menucmn.cpp