Improve wxMenu::Break() documentation and show it in the sample

Document that this method only actually does something in wxMSW.

Demonstrate the use of it in the menu sample.

See #18692.
This commit is contained in:
Vadim Zeitlin
2020-04-18 00:43:09 +02:00
parent d6906719f4
commit efa302c577
2 changed files with 11 additions and 0 deletions

View File

@@ -665,6 +665,9 @@ public:
/**
Inserts a break in a menu, causing the next appended item to appear in
a new column.
This function only actually inserts a break in wxMSW and does nothing
under the other platforms.
*/
virtual void Break();