diff --git a/aegisub/src/dialog_colorpicker.cpp b/aegisub/src/dialog_colorpicker.cpp index 7b8986df0..851c6c823 100644 --- a/aegisub/src/dialog_colorpicker.cpp +++ b/aegisub/src/dialog_colorpicker.cpp @@ -688,6 +688,10 @@ DialogColorPicker::~DialogColorPicker() delete rgb_slider[2]; delete hsl_slider; delete hsv_slider; + +#ifdef __WXMSW__ + if (screen_dropper_icon->HasCapture()) screen_dropper_icon->ReleaseMouse(); +#endif }