1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 12:12:23 +01:00

Fix most of the compile warnings I get on Linux (but not the Audacity Logo

xpm stuff or a few things in FFMPEG export)
This commit is contained in:
businessmanprogrammersteve
2010-02-12 21:36:20 +00:00
parent e801b39943
commit a55c20be66
27 changed files with 54 additions and 72 deletions

View File

@@ -663,7 +663,6 @@ void GetNextWindowPlacement(wxRect *nextRect, bool *pMaximized, bool *pIconized)
nextRect->y -= inc;
bottomRight = nextRect->GetBottomRight();
if (bottomRight.y > screenRect.GetBottom()) {
int newheight = screenRect.GetHeight() - nextRect->GetBottom();
nextRect->SetBottom(screenRect.GetBottom());
}
}
@@ -724,7 +723,6 @@ AudacityProject::AudacityProject(wxWindow * parent, wxWindowID id,
const wxSize & size)
: wxFrame(parent, id, wxT("Audacity"), pos, size),
mLastPlayMode(normalPlay),
mFreqWindow(NULL),
mRate((double) gPrefs->Read(wxT("/SamplingRate/DefaultProjectSampleRate"), AudioIO::GetOptimalSupportedSampleRate())),
mDefaultFormat((sampleFormat) gPrefs->
Read(wxT("/SamplingRate/DefaultProjectSampleFormat"), floatSample)),
@@ -742,6 +740,7 @@ AudacityProject::AudacityProject(wxWindow * parent, wxWindowID id,
mMixerBoard(NULL),
mMixerBoardFrame(NULL),
#endif
mFreqWindow(NULL),
mToolManager(NULL),
mAudioIOToken(-1),
mIsDeleting(false),