From e67b0ea54b7aa57d69c34236516a8221e258bbc2 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Wed, 23 Feb 2011 13:14:48 +0000 Subject: [PATCH] wxGTK: do not freeze/thaw the main frame window On certain configurations, this is problematic, because windows sometimes are not thaw()'ed correctly, leading to an interface that doesn't update. This is a workaround that simply disables all freeze/thaw on the main frame. I haven't noticed any performance issues. Originally committed to SVN as r5373. --- aegisub/src/frame_main.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aegisub/src/frame_main.h b/aegisub/src/frame_main.h index 93a854e16..194232b8d 100644 --- a/aegisub/src/frame_main.h +++ b/aegisub/src/frame_main.h @@ -93,6 +93,11 @@ public: agi::scoped_ptr context; private: + // XXX: Make Freeze()/Thaw() noops on GTK, this seems to be buggy +#ifdef __WXGTK__ + void Freeze(void) {} + void Thaw(void) {} +#endif void cmd_call(wxCommandEvent& event); /// DOCME