forked from mia/Aegisub
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:
parent
d6d06b53eb
commit
e67b0ea54b
1 changed files with 5 additions and 0 deletions
|
@ -93,6 +93,11 @@ public:
|
||||||
agi::scoped_ptr<agi::Context> context;
|
agi::scoped_ptr<agi::Context> context;
|
||||||
|
|
||||||
private:
|
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);
|
void cmd_call(wxCommandEvent& event);
|
||||||
|
|
||||||
/// DOCME
|
/// DOCME
|
||||||
|
|
Loading…
Reference in a new issue