]> git.saurik.com Git - wxWidgets.git/commitdiff
add a few comments about wxDEPRECATED stuff to ease upgrade path (closes #10628)
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 9 May 2009 12:41:31 +0000 (12:41 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 9 May 2009 12:41:31 +0000 (12:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h
include/wx/menu.h

index 0c0b020894340d2356cd02c9eaa57c64cd8a224b..a55a97b67731982b38b91e62eb4e5d011536fca9 100644 (file)
@@ -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 '\\')
 #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,
 wxDEPRECATED( WXDLLIMPEXP_BASE void wxSplitPath(const wxString& fileName,
                                                 wxString *pstrPath,
                                                 wxString *pstrName,
index 4fc2b26f9d73042a3b54662b75a2262182367a1a..466d50675a656c0682d13791183416ec065fc745 100644 (file)
@@ -498,7 +498,9 @@ public:
 
 #if WXWIN_COMPATIBILITY_2_8
     // get or change the label of the menu at given position
 
 #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
 
     wxDEPRECATED( wxString GetLabelTop(size_t pos) const );
 #endif