diff options
Diffstat (limited to 'dev-embedded/usbprog/files')
-rw-r--r-- | dev-embedded/usbprog/files/usbprog-0.2.0-wx3.0.patch | 25 |
1 files changed, 0 insertions, 25 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 deleted file mode 100644 index bfd47ad89c74..000000000000 --- a/dev-embedded/usbprog/files/usbprog-0.2.0-wx3.0.patch +++ /dev/null @@ -1,25 +0,0 @@ -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 { |