fix fix fix

This commit is contained in:
Ryan Holmes
2017-07-02 23:45:28 -04:00
parent 7ae41b71b2
commit 1082d8a173
9 changed files with 10 additions and 10 deletions

View File

@@ -382,7 +382,7 @@ class FitItem(SFItem.SFBrowserItem):
if self.dragging and self.dragged:
self.OnMouseCaptureLost(event)
targetWnd = wx.FindWindowAtPointer()
targetWnd, _ = wx.FindWindowAtPointer()
if not targetWnd:
return

View File

@@ -827,7 +827,7 @@ class SecStatusDialog(wx.Dialog):
def __init__(self, parent, sec):
wx.Dialog.__init__(self, parent, title="Set Security Status", size=(275, 175))
self.SetSizeHintsSz(wx.DefaultSize, wx.DefaultSize)
self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)
bSizer1 = wx.BoxSizer(wx.VERTICAL)

View File

@@ -52,7 +52,7 @@ class ErrorFrame(wx.Frame):
"information about how this was triggered. Please contact the developers with the\n" \
"information provided through the EVE Online forums or file a GitHub issue."
self.SetSizeHintsSz(wx.DefaultSize, wx.DefaultSize)
self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)
if 'wxMSW' in wx.PlatformInfo:
self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_BTNFACE))

View File

@@ -1025,7 +1025,7 @@ class MainFrame(wx.Frame):
# Find a widget to be selected in the tree. Use either the
# one under the cursor, if any, or this frame.
wnd = wx.FindWindowAtPointer()
wnd, _ = wx.FindWindowAtPointer()
if not wnd:
wnd = self
InspectionTool().Show(wnd, True)

View File

@@ -92,7 +92,7 @@ class DmgPatternEditorDlg(wx.Dialog):
wx.Dialog.__init__(self, parent, id=wx.ID_ANY, title="Damage Pattern Editor", size=wx.Size(400, 240))
self.block = False
self.SetSizeHintsSz(wx.DefaultSize, wx.DefaultSize)
self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)
mainSizer = wx.BoxSizer(wx.VERTICAL)

View File

@@ -69,9 +69,9 @@ class PreferenceDialog(wx.Dialog):
minHeight = 550
bestFit = self.GetBestVirtualSize()
if minHeight > bestFit[1]:
self.SetSizeWH(650, minHeight)
self.SetSize(650, minHeight)
else:
self.SetSizeWH(650, bestFit[1])
self.SetSize(650, bestFit[1])
self.Layout()

View File

@@ -90,7 +90,7 @@ class ResistsEditorDlg(wx.Dialog):
wx.Dialog.__init__(self, parent, id=wx.ID_ANY, title="Target Resists Editor", size=wx.Size(350, 240))
self.block = False
self.SetSizeHintsSz(wx.DefaultSize, wx.DefaultSize)
self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)
mainSizer = wx.BoxSizer(wx.VERTICAL)

View File

@@ -117,7 +117,7 @@ class ImplantSetEditorDlg(wx.Dialog):
wx.Dialog.__init__(self, parent, id=wx.ID_ANY, title="Implant Set Editor", size=wx.Size(640, 600))
self.block = False
self.SetSizeHintsSz(wx.DefaultSize, wx.DefaultSize)
self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)
mainSizer = wx.BoxSizer(wx.VERTICAL)

View File

@@ -31,7 +31,7 @@ class UpdateDialog(wx.Dialog):
self.UpdateSettings = svc_UpdateSettings.getInstance()
self.releaseInfo = release
self.SetSizeHintsSz(wx.DefaultSize, wx.DefaultSize)
self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)
mainSizer = wx.BoxSizer(wx.VERTICAL)