1 --- audacity-src-2.0.5/configure.in~ 2013-10-19 09:31:48.000000000 +0200
2 +++ audacity-src-2.0.5/configure.in 2014-01-15 14:33:23.736199148 +0100
4 AC_MSG_NOTICE([Checking that the chosen version of wxWidgets is 2.8.x])
6 case "${wx_version}" in
9 echo "Great, you're using wxWidgets ${wx_version}!"
12 --- audacity-src-2.0.5/lib-src/lib-widget-extra/configure.in~ 2013-10-19 09:31:34.000000000 +0200
13 +++ audacity-src-2.0.5/lib-src/lib-widget-extra/configure.in 2014-01-15 14:35:09.519583138 +0100
15 AC_MSG_NOTICE([Checking that the chosen version of wxWidgets is 2.8.x])
17 case "${wx_version}" in
20 echo "Great, you're using wxWidgets ${wx_version}!"
23 --- audacity-src-2.0.5/lib-src/FileDialog/FileDialog.h~ 2013-10-19 09:31:33.000000000 +0200
24 +++ audacity-src-2.0.5/lib-src/FileDialog/FileDialog.h 2014-01-15 14:48:35.805376488 +0100
26 //----------------------------------------------------------------------------
29 -FileSelector(const wxChar *message = wxFileSelectorPromptStr,
30 +FileSelector(const wxChar *message = (wxChar *)wxFileSelectorPromptStr,
31 const wxChar *default_path = NULL,
32 const wxChar *default_filename = NULL,
33 const wxChar *default_extension = NULL,
34 - const wxChar *wildcard = wxFileSelectorDefaultWildcardStr,
35 + const wxChar *wildcard = (wxChar *)wxFileSelectorDefaultWildcardStr,
37 wxWindow *parent = NULL,
38 wxString label = wxEmptyString,
39 --- audacity-src-2.0.5/lib-src/FileDialog/gtk/FileDialogPrivate.cpp 2014-01-15 18:42:47.255235243 +0100
40 +++ audacity-src-2.0.5/lib-src/FileDialog/gtk/FileDialogPrivate.cpp.org 2014-01-15 18:42:42.785091188 +0100
43 #include "../FileDialog.h"
45 -#if defined(__WXGTK24__) && (!defined(__WXGPE__))
54 #include <unistd.h> // chdir
58 #include "wx/filename.h" // wxFilename
59 #include "wx/tokenzr.h" // wxStringTokenizer
64 - wxGenericFileDialog::OnListOk( event );
65 + wxGenericFileDialog::OnOk( event );
68 int FileDialog::ShowModal()
69 --- audacity-src-2.0.5/src/Sequence.cpp.org 2014-01-15 18:46:25.845608473 +0100
70 +++ audacity-src-2.0.5/src/Sequence.cpp 2014-01-15 18:54:18.464160530 +0100
72 _("Sequence has block file with length %s > mMaxSamples %s.\nTruncating to mMaxSamples."),
73 Internat::ToString(((wxLongLong)(bb->f->GetLength())).ToDouble(), 0).c_str(),
74 Internat::ToString(((wxLongLong)mMaxSamples).ToDouble(), 0).c_str());
75 - ::wxMessageBox(sMsg, _("Warning - Length in Writing Sequence"), wxICON_EXCLAMATION | wxOK);
76 - ::wxLogWarning(sMsg);
77 + wxMessageBox(sMsg, _("Warning - Length in Writing Sequence"), wxICON_EXCLAMATION | wxOK);
79 bb->f->SetLength(mMaxSamples);
82 --- audacity-src-2.0.5/src/AudacityApp.cpp.org 2014-01-15 18:55:56.667324154 +0100
83 +++ audacity-src-2.0.5/src/AudacityApp.cpp 2014-01-15 19:35:30.704368875 +0100
87 if (option < argc - 1 &&
89 + !argv[option + 1].IsEmpty() &&
90 !wxString(wxT("-blocksize")).CmpNoCase(argv[option])) {
92 if (wxString(argv[option + 1]).ToLong(&theBlockSize)) {
93 --- audacity-src-2.0.5/src/AudioIO.cpp~ 2013-10-19 09:31:48.000000000 +0200
94 +++ audacity-src-2.0.5/src/AudioIO.cpp 2014-01-15 19:36:45.000091144 +0100
96 wxString errStr = _("Could not find any audio devices.\n");
97 errStr += _("You will not be able to play or record audio.\n\n");
98 wxString paErrStr = LAT1CTOWX(Pa_GetErrorText(err));
100 + if (!paErrStr.IsEmpty())
101 errStr += _("Error: ")+paErrStr;
102 // XXX: we are in libaudacity, popping up dialogs not allowed! A
103 // long-term solution will probably involve exceptions
104 --- audacity-src-2.0.5/src/CaptureEvents.cpp~ 2013-10-19 09:31:48.000000000 +0200
105 +++ audacity-src-2.0.5/src/CaptureEvents.cpp 2014-01-15 19:45:04.053070193 +0100
107 // temporarily replace the global GDK event handler with our function
108 gdk_event_handler_set((GdkEventFunc)main_do_event, &queue, NULL);
110 - // temporarily suspend idle callbacks
111 - wxTheApp->SuspendIdleCallback();
114 CaptureEvents::~CaptureEvents()
115 --- audacity-src-2.0.5/src/CaptureEvents.cpp~ 2014-01-15 19:45:04.000000000 +0100
116 +++ audacity-src-2.0.5/src/CaptureEvents.cpp 2014-01-15 19:45:45.754464727 +0100
121 - // don't allow idle callbacks while we're active
122 - wxTheApp->SuspendIdleCallback();
127 --- audacity-src-2.0.5/src/LyricsWindow.cpp~ 2013-10-19 09:31:49.000000000 +0200
128 +++ audacity-src-2.0.5/src/LyricsWindow.cpp 2014-01-15 19:51:24.312324357 +0100
131 wxIcon ic(wxICON(AudacityLogo48x48));
134 + SetIcon((const wxIcon&)ic);
137 wxPoint panelPos(0, 0);
138 --- audacity-src-2.0.5/src/Menus.cpp~ 2013-10-19 09:31:48.000000000 +0200
139 +++ audacity-src-2.0.5/src/Menus.cpp 2014-01-15 19:55:08.146305162 +0100
140 @@ -2403,7 +2403,7 @@
141 // The workaround is to queue a context menu event, allowing the key press
142 // event to complete.
143 wxContextMenuEvent e(wxEVT_CONTEXT_MENU, GetId());
144 - mTrackPanel->AddPendingEvent(e);
145 + mTrackPanel->GetEventHandler()->AddPendingEvent(e);
148 void AudacityProject::OnTrackMute()
149 --- audacity-src-2.0.5/src/MixerBoard.cpp.org 2014-01-15 19:56:40.262635794 +0100
150 +++ audacity-src-2.0.5/src/MixerBoard.cpp 2014-01-15 19:56:59.606597792 +0100
151 @@ -1727,7 +1727,7 @@
153 wxIcon ic(wxICON(AudacityLogo48x48));
156 + SetIcon((const wxIcon&)ic);
160 --- audacity-src-2.0.5/src/PitchName.cpp.org 2014-01-15 19:58:21.012574229 +0100
161 +++ audacity-src-2.0.5/src/PitchName.cpp 2014-01-15 20:07:39.509684788 +0100
166 +#include "wx/defs.h"
167 +#include "wx/dlimpexp.h"
168 +#include "wx/wxcrtbase.h"
169 +#include "wx/wxcrtvararg.h"
170 +#include "wx/wxcrt.h"
172 #include "PitchName.h"
175 --- audacity-src-2.0.5/src/PlatformCompatibility.cpp.org 2014-01-15 20:31:30.447274594 +0100
176 +++ audacity-src-2.0.5/src/PlatformCompatibility.cpp 2014-01-15 20:31:50.037920878 +0100
178 static wxString path;
181 - wxStandardPaths std;
183 - path = std.GetExecutablePath();
184 + path = wxStandardPaths::Get().GetExecutablePath();
193 \ Brak znaku nowej linii na końcu pliku
195 --- audacity-src-2.0.5/src/Profiler.cpp~ 2013-10-19 09:31:49.000000000 +0200
196 +++ audacity-src-2.0.5/src/Profiler.cpp 2014-01-15 20:32:39.369547031 +0100
199 *//*******************************************************************/
204 #include "Profiler.h"
206 ///write to a profile at the end of the test.
212 \ Brak znaku nowej linii na końcu pliku
214 --- audacity-src-2.0.5/src/Project.cpp~ 2014-01-15 20:34:38.000000000 +0100
215 +++ audacity-src-2.0.5/src/Project.cpp 2014-01-15 20:35:31.352033096 +0100
218 ic.CopyFromBitmap(theTheme.Bitmap(bmpAudacityLogo48x48));
221 + SetIcon((const wxIcon&)ic);
225 --- audacity-src-2.0.5/src/Tags.cpp~ 2014-01-15 20:37:40.000000000 +0100
226 +++ audacity-src-2.0.5/src/Tags.cpp 2014-01-15 20:38:32.374915880 +0100
230 wxString attr = *attrs++;
232 + if (attr.IsEmpty())
234 wxString value = *attrs++;
236 --- audacity-src-2.0.5/src/TrackPanel.cpp.org 2014-01-15 20:40:41.349305322 +0100
237 +++ audacity-src-2.0.5/src/TrackPanel.cpp 2014-01-15 20:44:35.530549708 +0100
238 @@ -5097,7 +5097,7 @@
239 // The activate event is used to make the
240 // parent window 'come alive' if it didn't have focus.
242 - GetParent()->ProcessEvent(e);
243 + GetParent()->GetEventHandler()->ProcessEvent(e);
245 // wxTimers seem to be a little unreliable, so this
246 // "primes" it to make sure it keeps going for a while...
247 @@ -5534,7 +5534,7 @@
248 int trackKind = pTrack->GetKind();
249 currentTool = selectTool; // the default.
251 - if( event.ButtonIsDown(3) || event.RightUp()){
252 + if( event.ButtonIsDown((wxMouseButton)3) || event.RightUp()){
253 currentTool = zoomTool;
254 } else if( trackKind == Track::Time ){
255 currentTool = envelopeTool;
256 @@ -8251,7 +8251,7 @@
260 - mFont.Create(fontSize, wxSWISS, wxNORMAL, wxNORMAL);
261 + mFont.Create(fontSize, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL);
263 int allowableWidth = GetTrackInfoWidth() - 2; // 2 to allow for left/right borders
264 int textWidth, textHeight;