compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -112,13 +112,13 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// insert a separator
|
// insert a separator
|
||||||
bool InsertSeparator(size_t pos)
|
void InsertSeparator(size_t pos)
|
||||||
{
|
{
|
||||||
Insert(pos, wxMenuItem::New((wxMenu *)this));
|
Insert(pos, wxMenuItem::New((wxMenu *)this));
|
||||||
}
|
}
|
||||||
|
|
||||||
// insert a submenu
|
// insert a submenu
|
||||||
bool Insert(size_t pos,
|
void Insert(size_t pos,
|
||||||
int id,
|
int id,
|
||||||
const wxString& text,
|
const wxString& text,
|
||||||
wxMenu *submenu,
|
wxMenu *submenu,
|
||||||
@@ -128,7 +128,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// prepend an item to the menu
|
// prepend an item to the menu
|
||||||
bool Prepend(wxMenuItem *item)
|
void Prepend(wxMenuItem *item)
|
||||||
{
|
{
|
||||||
Insert(0u, item);
|
Insert(0u, item);
|
||||||
}
|
}
|
||||||
@@ -142,13 +142,13 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// insert a separator
|
// insert a separator
|
||||||
bool PrependSeparator()
|
void PrependSeparator()
|
||||||
{
|
{
|
||||||
InsertSeparator(0u);
|
InsertSeparator(0u);
|
||||||
}
|
}
|
||||||
|
|
||||||
// insert a submenu
|
// insert a submenu
|
||||||
bool Prepend(int id,
|
void Prepend(int id,
|
||||||
const wxString& text,
|
const wxString& text,
|
||||||
wxMenu *submenu,
|
wxMenu *submenu,
|
||||||
const wxString& help = wxEmptyString)
|
const wxString& help = wxEmptyString)
|
||||||
|
Reference in New Issue
Block a user