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
// common part of all ctors
void Init();
// 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);
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
bool m_doBreak;
// in this menu rearranging of menu items (esp hiding) is allowed