From 924c9b45916c85c59c59b140c6b7b13e455aefde Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 16 Jul 2013 14:10:32 +0000 Subject: [PATCH] No changes, just fix some comments in wxOSX wxMenu header. Mostly clarify DoInsertOrAppend() comment, the "is"/"if" typo made it rather unclear. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/menu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/osx/menu.h b/include/wx/osx/menu.h index ceea341234..4025aa9c70 100644 --- a/include/wx/osx/menu.h +++ b/include/wx/osx/menu.h @@ -75,14 +75,14 @@ private: // common part of all ctors void Init(); - // common part of Append/Insert (behaves as Append is pos == (size_t)-1) + // common part of Do{Append,Insert}(): behaves as Append if pos == -1 bool DoInsertOrAppend(wxMenuItem *item, size_t pos = (size_t)-1); // Common part of HandleMenu{Opened,Closed}(). void DoHandleMenuOpenedOrClosed(wxEventType evtType); - // if TRUE, insert a breal before appending the next item + // if TRUE, insert a break before appending the next item bool m_doBreak; // in this menu rearranging of menu items (esp hiding) is allowed -- 2.45.2