From 29ffc038d4c4d299def6eecb8b667e649ff18bfc Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Sat, 1 Oct 2005 13:51:14 +0000 Subject: Fix for wxGTK > 2.2 - bug 105302. (Portage version: 2.0.52-r1) --- x11-misc/jaffm/files/jaffm-1.2.1-wx24.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 x11-misc/jaffm/files/jaffm-1.2.1-wx24.patch (limited to 'x11-misc/jaffm/files') diff --git a/x11-misc/jaffm/files/jaffm-1.2.1-wx24.patch b/x11-misc/jaffm/files/jaffm-1.2.1-wx24.patch new file mode 100644 index 000000000000..4840266fea92 --- /dev/null +++ b/x11-misc/jaffm/files/jaffm-1.2.1-wx24.patch @@ -0,0 +1,23 @@ +diff -Nru jaffm-1.2.1.original/filetree.h jaffm-1.2.1/filetree.h +--- jaffm-1.2.1.original/filetree.h 2005-10-01 14:46:08.000000000 +0200 ++++ jaffm-1.2.1/filetree.h 2005-10-01 15:35:50.000000000 +0200 +@@ -20,6 +20,7 @@ + public: + UFiletree(wxWindow *oParent, wxWindowID iID, wxTextCtrl *oLocation, MainWindow *oParentWindow, Settings *oNewSettings); + ++ wxTreeItemId UFiletree::GetParent(wxTreeItemId item) const { return GetItemParent(item); } + wxString getFullpath(wxTreeItemId iItem); + void selectPrevItem(); + void selectNextItem(); +diff -Nru jaffm-1.2.1.original/mainwindow.cpp jaffm-1.2.1/mainwindow.cpp +--- jaffm-1.2.1.original/mainwindow.cpp 2005-10-01 14:46:08.000000000 +0200 ++++ jaffm-1.2.1/mainwindow.cpp 2005-10-01 14:46:44.000000000 +0200 +@@ -541,7 +541,7 @@ + // the keycodes are hardcoded into USettings, + // so that we'll only have to change USettings + // and not MainWindow as well, when the time comes. +- std::string sKeySignal = oSettings->getKeySignal(oEvent.GetCode()); ++ std::string sKeySignal = oSettings->getKeySignal(oEvent.GetKeyCode()); + + if (sKeySignal == "ToggleMenubar") + { -- cgit v1.2.3-65-gdbad