diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp index a46323fcf..fb4d0fde5 100644 --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -804,7 +804,7 @@ void AudacityApp::OnMRUFile(wxCommandEvent& event) { #if 0 //FIX-ME: Was this OnMRUProject lost in an edit?? Should we have it back? -//vvvvv I think it was removed on purpose, but I don't know why it's still here. +//vvv I think it was removed on purpose, but I don't know why it's still here. // Basically, anything from Recent Files is treated as a .aup, until proven otherwise, // then it tries to Import(). Very questionable handling, imo. // Better, for example, to check the file type early on. diff --git a/src/widgets/ASlider.cpp b/src/widgets/ASlider.cpp index a1a533d23..b4acd24e2 100644 --- a/src/widgets/ASlider.cpp +++ b/src/widgets/ASlider.cpp @@ -701,7 +701,7 @@ void LWSlider::Draw() if (mOrientation == wxHORIZONTAL) AColor::Line(*dc, mLeftX, mCenterY+1, mRightX+2, mCenterY+1); - else //vvvvv if (mStyle != DB_SLIDER) // Let the ruler do it for vertical DB_SLIDER. + else //vvv if (mStyle != DB_SLIDER) // Let the ruler do it for vertical DB_SLIDER. AColor::Line(*dc, mCenterX+1, mTopY, mCenterX+1, mBottomY+2); @@ -773,7 +773,7 @@ void LWSlider::Draw() } } - //vvvvv 20090820: Ruler doesn't align with slider correctly -- yet. + //vvv 20090820: Ruler doesn't align with slider correctly -- yet. //if ((mOrientation == wxVERTICAL) && (mStyle == DB_SLIDER)) //{ // if (!mpRuler) @@ -797,7 +797,7 @@ void LWSlider::Draw() // mpRuler->SetRange(mMaxValue, mMinValue); // mpRuler->SetFormat(Ruler::LinearDBFormat); // } - // mpRuler->SetBounds(mLeft, mTop, mWidth, mHeightY); //vvvvv Why the magic number reqd on height to get it to line up? + 9); + // mpRuler->SetBounds(mLeft, mTop, mWidth, mHeightY); //vvv Why the magic number reqd on height to get it to line up? + 9); // mpRuler->Draw(*dc); //} //else diff --git a/src/widgets/Warning.cpp b/src/widgets/Warning.cpp index 4300f1a2a..2330fd901 100644 --- a/src/widgets/Warning.cpp +++ b/src/widgets/Warning.cpp @@ -50,7 +50,9 @@ BEGIN_EVENT_TABLE(WarningDialog, wxDialog) END_EVENT_TABLE() WarningDialog::WarningDialog(wxWindow *parent, wxString message) -: wxDialog(parent, wxID_ANY, (wxString)_("Warning")) +: wxDialog(parent, wxID_ANY, (wxString)_("Warning"), + wxDefaultPosition, wxDefaultSize, + wxCAPTION | wxSYSTEM_MENU) // Unlike wxDEFAULT_DIALOG_STYLE, no wxCLOSE_BOX. { ShuttleGui S(this, eIsCreating);