Added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,6 +35,7 @@ class TestFrame(wxFrame):
|
|||||||
|
|
||||||
|
|
||||||
def SetWindowShape(self, *evt):
|
def SetWindowShape(self, *evt):
|
||||||
|
# Use the bitmap's mask to determine the region
|
||||||
r = wxRegionFromBitmap(self.bmp)
|
r = wxRegionFromBitmap(self.bmp)
|
||||||
self.hasShape = self.SetShape(r)
|
self.hasShape = self.SetShape(r)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user