25 : m_AutoClearOnDestroy(autoClearOnDestroy)
81 for (
unsigned int i = 0; i <
m_MenuItems.Count(); ++i)
119 size_t nextPos = pos;
120 while (nextPos < menuPath.
Length() && menuPath.
GetChar(++nextPos) !=
_T(
'/'))
123 wxString current = menuPath.
Mid(pos, nextPos - pos);
126 bool isLast = nextPos >= menuPath.
Length();
129 unsigned long insertIndex = 0;
130 if (reInsert.Matches(current))
133 wxString indexS = reInsert.GetMatch(current, 1);
134 if (indexS.
ToULong(&insertIndex, 10))
147 int menuPos = mbar->
FindMenu(current);
162 int existingID = menu->
FindItem(current);
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
bool ToULong(unsigned long *val, int base=10) const
wxString & Remove(size_t pos)
wxFrame * GetAppFrame() const
bool StartsWith(const wxString &prefix, wxString *rest=NULL) const
wxUniChar GetChar(size_t n) const
wxString Mid(size_t first, size_t nCount=wxString::npos) const