mirror of https://github.com/PCSX2/pcsx2.git
gui: Fix Windows screenshot workaround comment.
It's an actual wx3.0 bug, not a bug in dialog construction.
This commit is contained in:
parent
cc1d50a06c
commit
149b7fc347
|
@ -302,9 +302,8 @@ void Dialogs::BaseConfigurationDialog::OnScreenshot_Click( wxCommandEvent& evt )
|
||||||
{
|
{
|
||||||
ScopedBusyCursor busy( Cursor_ReallyBusy );
|
ScopedBusyCursor busy( Cursor_ReallyBusy );
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
// FIXME: Ideally the alpha channel information should be dealt with
|
// HACK: This works around an actual wx3.0 bug at the cost of icon
|
||||||
// at the window level. This will do until I have a comprehensive fix
|
// quality. See http://trac.wxwidgets.org/ticket/14403 .
|
||||||
// ready.
|
|
||||||
wxImage image = memBmp.ConvertToImage();
|
wxImage image = memBmp.ConvertToImage();
|
||||||
if (image.HasAlpha())
|
if (image.HasAlpha())
|
||||||
image.ClearAlpha();
|
image.ClearAlpha();
|
||||||
|
|
Loading…
Reference in New Issue