]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxDEPRECATED_CONSTRUCTOR() instead of inline
authorPaul Cornett <paulcor@bullseye.com>
Fri, 28 Dec 2012 18:38:55 +0000 (18:38 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 28 Dec 2012 18:38:55 +0000 (18:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/menuitem.h

index 7f509584b099881ed0b39f05e7fcaa19f92c45ee..6d155103065717d36a19c2866636ae69b9e135ad 100644 (file)
@@ -42,8 +42,7 @@ public:
 
 #if WXWIN_COMPATIBILITY_2_8
     // compatibility only, don't use in new code
 
 #if WXWIN_COMPATIBILITY_2_8
     // compatibility only, don't use in new code
-    wxDEPRECATED(
-    inline
+    wxDEPRECATED_CONSTRUCTOR(
     wxMenuItem(wxMenu *parentMenu,
                int id,
                const wxString& text,
     wxMenuItem(wxMenu *parentMenu,
                int id,
                const wxString& text,