From 149b7fc347ebca5094ce4a34a3dd12ffa2995689 Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Tue, 1 Sep 2015 17:43:38 +0100 Subject: [PATCH] gui: Fix Windows screenshot workaround comment. It's an actual wx3.0 bug, not a bug in dialog construction. --- pcsx2/gui/Dialogs/BaseConfigurationDialog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pcsx2/gui/Dialogs/BaseConfigurationDialog.cpp b/pcsx2/gui/Dialogs/BaseConfigurationDialog.cpp index cd1ac34e14..f7394ff1bc 100644 --- a/pcsx2/gui/Dialogs/BaseConfigurationDialog.cpp +++ b/pcsx2/gui/Dialogs/BaseConfigurationDialog.cpp @@ -302,9 +302,8 @@ void Dialogs::BaseConfigurationDialog::OnScreenshot_Click( wxCommandEvent& evt ) { ScopedBusyCursor busy( Cursor_ReallyBusy ); #ifdef __WXMSW__ - // FIXME: Ideally the alpha channel information should be dealt with - // at the window level. This will do until I have a comprehensive fix - // ready. + // HACK: This works around an actual wx3.0 bug at the cost of icon + // quality. See http://trac.wxwidgets.org/ticket/14403 . wxImage image = memBmp.ConvertToImage(); if (image.HasAlpha()) image.ClearAlpha();