summaryrefslogtreecommitdiff
path: root/dev-embedded/usbprog/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-embedded/usbprog/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-embedded/usbprog/files')
-rw-r--r--dev-embedded/usbprog/files/usbprog-0.2.0-wx3.0.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-embedded/usbprog/files/usbprog-0.2.0-wx3.0.patch b/dev-embedded/usbprog/files/usbprog-0.2.0-wx3.0.patch
new file mode 100644
index 000000000000..bfd47ad89c74
--- /dev/null
+++ b/dev-embedded/usbprog/files/usbprog-0.2.0-wx3.0.patch
@@ -0,0 +1,25 @@
+Description: Fix to build with wxWidgets 3.0
+ This patch should also work with wxWidgets 2.8.
+Author: Olly Betts <olly@survex.com>
+Last-Update: 2014-03-12
+
+--- usbprog-0.2.0.orig/gui/usbprogFrm.cc
++++ usbprog-0.2.0/gui/usbprogFrm.cc
+@@ -296,7 +296,7 @@ void usbprogFrm::CreateGUIControls()
+
+ // file dialog
+ m_fileDialog = new wxFileDialog(m_panel, wxT("Choose a file"),
+- wxT(""), wxT(""), wxT("*.bin"), wxOPEN);
++ wxT(""), wxT(""), wxT("*.bin"), wxFD_OPEN);
+
+ m_topBox->Add(topSizer, wxEXPAND, wxALL, 10);
+
+@@ -670,7 +670,7 @@ void usbprogFrm::enableDisableDebug(wxCo
+ dbg->setFileHandle(NULL);
+ } else {
+ wxFileDialog fdg(m_panel, wxT("Choose a file"),
+- wxT(""), wxT(""), wxT("*.log"), wxSAVE);
++ wxT(""), wxT(""), wxT("*.log"), wxFD_SAVE);
+ if (fdg.ShowModal() != wxID_OK)
+ dbg->setFileHandle(stderr);
+ else {