aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2003-09-03 15:43:26 +0800
committertg <tg@FreeBSD.org>2003-09-03 15:43:26 +0800
commit010d17a0fdc74716a01be2838385112bf794af31 (patch)
treea003550ef228a1eabdac6a1c6d7ea841b5a15010 /x11-toolkits
parent3bbb677c6e7b343a941100049c4f4d8b648472ba (diff)
downloadfreebsd-ports-graphics-010d17a0fdc74716a01be2838385112bf794af31.tar.gz
freebsd-ports-graphics-010d17a0fdc74716a01be2838385112bf794af31.tar.zst
freebsd-ports-graphics-010d17a0fdc74716a01be2838385112bf794af31.zip
Add patch from ports/56056.
PR: 56056 Submitted by: Stefan Ehmann <shoesoft@gmx.net>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/wxgtk-devel/files/patch-include::wx::menuitem.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk-devel/files/patch-include::wx::menuitem.h b/x11-toolkits/wxgtk-devel/files/patch-include::wx::menuitem.h
new file mode 100644
index 00000000000..c91ec3b3164
--- /dev/null
+++ b/x11-toolkits/wxgtk-devel/files/patch-include::wx::menuitem.h
@@ -0,0 +1,19 @@
+--- include/wx/menuitem.h.orig Wed Aug 27 21:11:09 2003
++++ include/wx/menuitem.h Wed Aug 27 21:11:35 2003
+@@ -4,7 +4,7 @@
+ // Author: Vadim Zeitlin
+ // Modified by:
+ // Created: 25.10.99
+-// RCS-ID: $Id: menuitem.h,v 1.22 2002/04/12 13:15:43 JS Exp $
++// RCS-ID: $Id: menuitem.h,v 1.22.2.1 2003/06/10 23:48:45 RD Exp $
+ // Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
+ // Licence: wxWindows license
+ ///////////////////////////////////////////////////////////////////////////////
+@@ -49,6 +49,7 @@
+
+ // the menu we're in
+ wxMenu *GetMenu() const { return m_parentMenu; }
++ void SetMenu(wxMenu* menu) { m_parentMenu = menu; }
+
+ // get/set id
+ void SetId(int id) { m_id = id; }