diff --git a/src/Screenshot.cpp b/src/Screenshot.cpp index 7de7693d9..b1a267d96 100644 --- a/src/Screenshot.cpp +++ b/src/Screenshot.cpp @@ -656,13 +656,11 @@ void ScreenshotBigDialog::DoCapture(int captureMode) 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 + // accessible from outside the command, this seems to be the only way we + // can get the window on top of this dialog. wxWindow *w = wxFindWindowByLabel(XO("Long Message").Translation()); if (w) { w->SetWindowStyle(w->GetWindowStyle() | wxSTAY_ON_TOP); - w->Raise(); } }