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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user