Fixed problem with incorrect panel background on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,6 +90,9 @@ class FileBrowseButton(wx.Panel):
|
|||||||
|
|
||||||
# try to set the background colour
|
# try to set the background colour
|
||||||
try:
|
try:
|
||||||
|
#Question: is this still needed on other platforms?
|
||||||
|
#It should have transparent background on Mac
|
||||||
|
if wx.Platform != "__WXMAC__":
|
||||||
self.SetBackgroundColour(self._bc)
|
self.SetBackgroundColour(self._bc)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user