Skip to content

Commit

Permalink
wxPython 4/cursor manager/Find dialog: use sizer.Add instead of sizer…
Browse files Browse the repository at this point in the history
….AddSizer. re nvaccess#7077.
  • Loading branch information
josephsl committed Apr 16, 2017
1 parent 0961f74 commit bf6ef64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/cursorManager.py
@@ -1,6 +1,6 @@
#cursorManager.py
#A part of NonVisual Desktop Access (NVDA)
#Copyright (C) 2006-2016 NV Access Limited, Joseph Lee, Derek Riemer
#Copyright (C) 2006-2017 NV Access Limited, Joseph Lee, Derek Riemer
#This file is covered by the GNU General Public License.
#See the file COPYING for more details.

Expand Down Expand Up @@ -49,7 +49,7 @@ def __init__(self, parent, cursorManager, text, caseSensitivity):
self.caseSensitiveCheckBox.SetValue(caseSensitivity)
mainSizer.Add(self.caseSensitiveCheckBox,border=10,flag=wx.BOTTOM)

mainSizer.AddSizer(self.CreateButtonSizer(wx.OK|wx.CANCEL), flag=wx.ALIGN_RIGHT)
mainSizer.Add(self.CreateButtonSizer(wx.OK|wx.CANCEL), flag=wx.ALIGN_RIGHT)
self.Bind(wx.EVT_BUTTON,self.onOk,id=wx.ID_OK)
self.Bind(wx.EVT_BUTTON,self.onCancel,id=wx.ID_CANCEL)
mainSizer.Fit(self)
Expand Down

0 comments on commit bf6ef64

Please sign in to comment.