mark long-deprecated ctor as such

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2008-05-29 04:26:29 +00:00
parent cd431efcdf
commit efebabb7ff
4 changed files with 14 additions and 2 deletions

View File

@@ -53,13 +53,17 @@ public:
// and in the hotkey which is used to set given pointer
static wxString GTKProcessMenuItemLabel(const wxString& str, wxString *hotKey);
#if WXWIN_COMPATIBILITY_2_8
// compatibility only, don't use in new code
wxDEPRECATED(
wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
const wxString& help,
bool isCheckable,
wxMenu *subMenu = (wxMenu *)NULL);
wxMenu *subMenu = NULL)
);
#endif
private:
// common part of all ctors