Disable inspection of writing to some wx properties. These do seem to get written, so it is likely pyCharm doesn't understand wx

This commit is contained in:
Ebag333
2017-02-08 22:32:12 -08:00
parent 7a2feb9152
commit e535f050c1
3 changed files with 3 additions and 0 deletions

View File

@@ -647,6 +647,7 @@ class FittingView(d.Display):
def Snapshot(self):
return self.FVsnapshot
# noinspection PyPropertyAccess
def MakeSnapshot(self, maxColumns=1337):
if self.FVsnapshot:

View File

@@ -144,6 +144,7 @@ class Display(wx.ListCtrl):
else:
event.Skip()
# noinspection PyPropertyAccess
def addColumn(self, i, col):
self.activeColumns.append(col)
info = wx.ListItem()

View File

@@ -33,6 +33,7 @@ def DrawFilledBitmap(width, height, color):
return canvas
# noinspection PyPropertyAccess
def DrawGradientBar(width, height, gStart, gEnd, gMid=None, fillRatio=4):
# we need to have dimensions to draw
# assert width > 0 and height > 0