Applied patch [ 642172 ] Fix menu accelerators in ownerdrw
authorJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 10:15:00 +0000 (10:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 10:15:00 +0000 (10:15 +0000)
commit2a2a71e326fb9cf95b29dd10b7c8bb88cae4f439
tree57fad140032aeccb851b8c461b82862faacb0699
parent1d30a0a132f1f01d8ed3a01c789fc0422b721e79
Applied patch [ 642172 ] Fix menu accelerators in ownerdrw

Fixed bug when updating menu text to inform the
ownerdrw code of the new menu accelerator attached to
the menu item.
Improved the layout of the owenerdrw menu ownerdrw to
correctly account for menu accelerators, submenu
arrows etc.

Scott Pleiter

(Note from JACS: I've also changed the sample to show the Quit item
correctly aligned; it needs to have the font set before wxWin knows
it's an ownerdrawn item.)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/ownerdrw/ownerdrw.cpp
src/msw/menuitem.cpp
src/msw/ownerdrw.cpp