]> git.saurik.com Git - wxWidgets.git/commitdiff
allow transparency flags on mac too
authorRobin Dunn <robin@alldunn.com>
Mon, 10 Jul 2006 17:00:06 +0000 (17:00 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 10 Jul 2006 17:00:06 +0000 (17:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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: