mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
Remove some unneeded debugging
This commit is contained in:
parent
9a0753d214
commit
de6e65ffa3
@ -892,7 +892,6 @@ void ProjectFileManager::OpenFile(const FilePath &fileNameArg, bool addtohistory
|
||||
return;
|
||||
}
|
||||
|
||||
printf("fileexists %d\n", wxFileExists(fileName));
|
||||
if (!::wxFileExists(fileName)) {
|
||||
AudacityMessageBox(
|
||||
XO("Could not open file: %s").Format( fileName ),
|
||||
|
@ -654,6 +654,16 @@ void ScreenshotBigDialog::DoCapture(int captureMode)
|
||||
if (!mCommand->Apply(mContext))
|
||||
mStatus->SetStatusText(_("Capture failed!"), mainStatusBarField);
|
||||
Show();
|
||||
|
||||
// Bug 2323: (100% hackage alert) Since the command target dialog is not
|
||||
// accessible from outside the command, this is the only way we can get
|
||||
// the window on top of this dialog. It also requires that the LongMessageDialog
|
||||
// command target have the wxSTAY_ON_TOP flag
|
||||
wxWindow *w = wxFindWindowByLabel(XO("Long Message").Translation());
|
||||
if (w) {
|
||||
w->SetWindowStyle(w->GetWindowStyle() | wxSTAY_ON_TOP);
|
||||
w->Raise();
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenshotBigDialog::OnCaptureSomething(wxCommandEvent & event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user