X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3786c8b587f82e406ba9656847b5bff4ed9209c2..bc07ab17bf5370f452e899128bf89cc7ca7b98f0:/include/wx/menu.h diff --git a/include/wx/menu.h b/include/wx/menu.h index f03dc59acb..9967d81d0d 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -60,7 +60,7 @@ public: // append any kind of item (normal/check/radio/separator) wxMenuItem* Append(int itemid, - const wxString& text, + const wxString& text = wxEmptyString, const wxString& help = wxEmptyString, wxItemKind kind = wxITEM_NORMAL) { @@ -108,7 +108,7 @@ public: // insert an item before given position wxMenuItem* Insert(size_t pos, int itemid, - const wxString& text, + const wxString& text = wxEmptyString, const wxString& help = wxEmptyString, wxItemKind kind = wxITEM_NORMAL) { @@ -158,7 +158,7 @@ public: // prepend any item to the menu wxMenuItem* Prepend(int itemid, - const wxString& text, + const wxString& text = wxEmptyString, const wxString& help = wxEmptyString, wxItemKind kind = wxITEM_NORMAL) {