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.
This commit is contained in:
Grigori Goronzy 2011-02-23 13:14:48 +00:00
parent d6d06b53eb
commit e67b0ea54b
1 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,11 @@ public:
agi::scoped_ptr<agi::Context> 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