Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/treeviewx/files: treeviewx-0.5.1-wx28.patch
Date: Mon, 06 Sep 2010 06:42:27
Message-Id: 20100906064218.E2F3620054@flycatcher.gentoo.org
1 dirtyepic 10/09/06 06:42:18
2
3 Added: treeviewx-0.5.1-wx28.patch
4 Log:
5 Migrate to wxGTK-2.8 with patch from Debian. Use EAPI 2. Simplify
6 wxwidgets handling.
7
8 (Portage version: 2.2_rc75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 sci-biology/treeviewx/files/treeviewx-0.5.1-wx28.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/treeviewx/files/treeviewx-0.5.1-wx28.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/treeviewx/files/treeviewx-0.5.1-wx28.patch?rev=1.1&content-type=text/plain
15
16 Index: treeviewx-0.5.1-wx28.patch
17 ===================================================================
18 Fix build w/ wxGTK-2.8
19 http://bugs.debian.org/567238
20
21 --- a/tview.cpp
22 +++ b/tview.cpp
23 @@ -994,7 +994,7 @@ END_EVENT_TABLE()
24 MyCanvas::MyCanvas(wxView *v, wxMDIChildFrame *frame, const wxPoint& pos, const wxSize& size, long style):
25 wxScrolledWindow(frame, -1, pos, size, style)
26 {
27 - SetBackgroundColour(wxColour("WHITE"));
28 + SetBackgroundColour(wxColour(wxT("WHITE")));
29 view = v;
30 magnification = 1;
31 }