From: Francesco Montorsi Date: Sat, 9 May 2009 12:41:31 +0000 (+0000) Subject: add a few comments about wxDEPRECATED stuff to ease upgrade path (closes #10628) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0253bbbabc68c9e1fbb9bed2668b5bfcf8c458ff add a few comments about wxDEPRECATED stuff to ease upgrade path (closes #10628) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 0c0b020894..a55a97b677 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -725,6 +725,7 @@ WXDLLIMPEXP_BASE bool wxEndsWithPathSeparator(const wxString& filename); #if WXWIN_COMPATIBILITY_2_8 // split the full path into path (including drive for DOS), name and extension // (understands both '/' and '\\') +// Deprecated in favour of wxFileName::SplitPath wxDEPRECATED( WXDLLIMPEXP_BASE void wxSplitPath(const wxString& fileName, wxString *pstrPath, wxString *pstrName, diff --git a/include/wx/menu.h b/include/wx/menu.h index 4fc2b26f9d..466d50675a 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -498,7 +498,9 @@ public: #if WXWIN_COMPATIBILITY_2_8 // get or change the label of the menu at given position - wxDEPRECATED( void SetLabelTop(size_t pos, const wxString& label) ); + // Deprecated in favour of SetMenuLabel + wxDEPRECATED( void SetLabelTop(size_t pos, const wxString& label) ); + // Deprecated in favour of GetMenuLabelText wxDEPRECATED( wxString GetLabelTop(size_t pos) const ); #endif