mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Copy subitles: Fix wxBitmap usage
UseAlpha turned out to be unnecessary and doesn't even exist in some wxWidgets ports.
This commit is contained in:
parent
aadf6b32b9
commit
732c5c7654
@ -325,9 +325,7 @@ struct video_frame_copy_subs final : public validator_video_loaded {
|
||||
STR_HELP("Copy the currently displayed subtitles to the clipboard, with transparent background")
|
||||
|
||||
void operator()(agi::Context *c) override {
|
||||
wxBitmap img(get_image(c, false, true));
|
||||
img.UseAlpha();
|
||||
SetClipboard(img);
|
||||
SetClipboard(wxBitmap(get_image(c, false, true), 32));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user