]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/AUI.py
allow transparency flags on mac too
[wxWidgets.git] / wxPython / demo / AUI.py
index 881f432d2bc81fe55e2c2974721e7dec0a209972..44d05a7145a741886f02f7ffa792cfbdc07c128e 100755 (executable)
@@ -477,12 +477,12 @@ class PyAUIFrame(wx.Frame):
 
         flag = 0
         
-        if wx.Platform != "__WXMSW__":
+        if wx.Platform != "__WXMSW__" and wx.Platform != '__WXMAC__':
             if event.GetId() == ID_TransparentDrag or \
                event.GetId() == ID_TransparentHint or \
                event.GetId() == ID_TransparentHintFade:
             
-                wx.MessageBox("This option is presently only available on wxMSW")
+                wx.MessageBox("This option is presently only available on wxMSW and wxMac")
                 return
 
         if event.GetId() == ID_AllowFloating: