From fab6fc69e38b21d6844b8212f89618ad9f2f7566 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 27 Dec 2017 19:22:20 +0000 Subject: [PATCH] wxWidgets OSX patch for tabbing in staticBoxes in dialogs Fixes: lp:1740187 * https://bugs.launchpad.net/kicad/+bug/1740187 --- ...dgets-3.0.0_macosx_staticbox_tabbing.patch | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 patches/wxwidgets-3.0.0_macosx_staticbox_tabbing.patch diff --git a/patches/wxwidgets-3.0.0_macosx_staticbox_tabbing.patch b/patches/wxwidgets-3.0.0_macosx_staticbox_tabbing.patch new file mode 100644 index 0000000000..302726544c --- /dev/null +++ b/patches/wxwidgets-3.0.0_macosx_staticbox_tabbing.patch @@ -0,0 +1,39 @@ +From 05c5d6676056f4f6689cabf701d4ea69f419fa0f Mon Sep 17 00:00:00 2001 +From: Jeff Young +Date: Wed, 27 Dec 2017 19:13:34 +0000 +Subject: [PATCH] Inherit from StaticBoxBase so that tabbing works. +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="------------2.14.3 (Apple Git-98)" + +This is a multi-part message in MIME format. +--------------2.14.3 (Apple Git-98) +Content-Type: text/plain; charset=UTF-8; format=fixed +Content-Transfer-Encoding: 8bit + +--- + include/wx/osx/statbox.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + +--------------2.14.3 (Apple Git-98) +Content-Type: text/x-patch; name="0001-Inherit-from-StaticBoxBase-so-that-tabbing-works.patch" +Content-Transfer-Encoding: 8bit +Content-Disposition: attachment; filename="0001-Inherit-from-StaticBoxBase-so-that-tabbing-works.patch" + +diff --git a/include/wx/osx/statbox.h b/include/wx/osx/statbox.h +index 5b5f049c58..2428f401fb 100644 +--- a/include/wx/osx/statbox.h ++++ b/include/wx/osx/statbox.h +@@ -14,7 +14,7 @@ + #include "wx/control.h" + + // Group box +-class WXDLLIMPEXP_CORE wxStaticBox: public wxControl ++class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase + { + DECLARE_DYNAMIC_CLASS(wxStaticBox) + + +--------------2.14.3 (Apple Git-98)-- + +