Only Freeze/Thaw if running on Windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-06-13 06:17:50 +00:00
parent 8c1eb0970a
commit ffb6d068fc

View File

@@ -1554,11 +1554,11 @@ class MainPanel(wx.Panel):
around an issue on wxGTK.
"""
def Freeze(self):
if not 'wxGTK' in wx.PlatformInfo:
if 'wxMSW' in wx.PlatformInfo:
return super(MainPanel, self).Freeze()
def Thaw(self):
if not 'wxGTK' in wx.PlatformInfo:
if 'wxMSW' in wx.PlatformInfo:
return super(MainPanel, self).Thaw()
#---------------------------------------------------------------------------