allow transparency flags on mac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -477,12 +477,12 @@ class PyAUIFrame(wx.Frame):
|
|||||||
|
|
||||||
flag = 0
|
flag = 0
|
||||||
|
|
||||||
if wx.Platform != "__WXMSW__":
|
if wx.Platform != "__WXMSW__" and wx.Platform != '__WXMAC__':
|
||||||
if event.GetId() == ID_TransparentDrag or \
|
if event.GetId() == ID_TransparentDrag or \
|
||||||
event.GetId() == ID_TransparentHint or \
|
event.GetId() == ID_TransparentHint or \
|
||||||
event.GetId() == ID_TransparentHintFade:
|
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
|
return
|
||||||
|
|
||||||
if event.GetId() == ID_AllowFloating:
|
if event.GetId() == ID_AllowFloating:
|
||||||
|
Reference in New Issue
Block a user