summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2005-10-01 13:51:14 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2005-10-01 13:51:14 +0000
commit29ffc038d4c4d299def6eecb8b667e649ff18bfc (patch)
tree75676d52b79cdf1da41acaf614320073d41dc724 /x11-misc/jaffm/files
parentClean up. (diff)
downloadgentoo-2-29ffc038d4c4d299def6eecb8b667e649ff18bfc.tar.gz
gentoo-2-29ffc038d4c4d299def6eecb8b667e649ff18bfc.tar.bz2
gentoo-2-29ffc038d4c4d299def6eecb8b667e649ff18bfc.zip
Fix for wxGTK > 2.2 - bug 105302.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'x11-misc/jaffm/files')
-rw-r--r--x11-misc/jaffm/files/jaffm-1.2.1-wx24.patch23
1 files changed, 23 insertions, 0 deletions
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")
+ {