Package: ucblogo / 6.0+dfsg-2

wx3.0.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: =?utf-8?q?Jan_R=C4=99korajski?= <baggins@pld-linux.org>
Date: Sun, 10 Apr 2016 19:42:52 +0200
Subject: wxWidgets 3.0

fix build with wxWidgets 3.0

Build with wxWidgets support.
---
 wxTerminal.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wxTerminal.cpp b/wxTerminal.cpp
index 291fadf..898badc 100644
--- a/wxTerminal.cpp
+++ b/wxTerminal.cpp
@@ -506,7 +506,7 @@ void LogoFrame::OnSaveAs(wxCommandEvent& WXUNUSED(event)) {
 #else
 			      wxStandardPaths::Get().GetDocumentsDir() :
 #endif
-			      *wxEmptyString),
+			      ""),
 			    wxEmptyString,
 			    _T("Logo workspaces(*.lg)|*.lg|All files(*)|*"),
 //			    "*",
@@ -542,7 +542,7 @@ void LogoFrame::OnLoad(wxCommandEvent& WXUNUSED(event)){
 #else
 	    wxStandardPaths::Get().GetDocumentsDir() :
 #endif
-			  *wxEmptyString),
+			  ""),
 	 wxEmptyString,
 	 _T("Logo workspaces(*.lg)|*.lg|All files(*)|*"),
 //	 "*",