Make modules static if they do not use self.

This commit is contained in:
Ebag333
2017-02-09 00:04:41 -08:00
parent 72633825cf
commit 11d7f9d029
31 changed files with 266 additions and 133 deletions

View File

@@ -69,7 +69,8 @@ class PFSearchBox(wx.Window):
wx.PostEvent(self, TextEnter())
event.Skip()
def OnEditSetFocus(self, event):
@staticmethod
def OnEditSetFocus(event):
# value = self.EditBox.GetValue()
# if value == self.descriptiveText:
# self.EditBox.ChangeValue("")