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
This commit is contained in:
@@ -75,14 +75,14 @@ private:
|
|||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
void Init();
|
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);
|
bool DoInsertOrAppend(wxMenuItem *item, size_t pos = (size_t)-1);
|
||||||
|
|
||||||
// Common part of HandleMenu{Opened,Closed}().
|
// Common part of HandleMenu{Opened,Closed}().
|
||||||
void DoHandleMenuOpenedOrClosed(wxEventType evtType);
|
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;
|
bool m_doBreak;
|
||||||
|
|
||||||
// in this menu rearranging of menu items (esp hiding) is allowed
|
// in this menu rearranging of menu items (esp hiding) is allowed
|
||||||
|
Reference in New Issue
Block a user