Skip to content

Commit

Permalink
wxGUI/vselect: fix BoxSizer widget Add method proportion param arg ty…
Browse files Browse the repository at this point in the history
…pe (#2984)

BoxSizer widget Add method proportion param arg type must be integer
type. Fix is for Python 3.10 and wxPython 4.2.0 version.
  • Loading branch information
tmszi committed May 30, 2023
1 parent 760d4d4 commit 8d740c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/gui_core/vselect.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def CreateDialog(self, createButton=True):
createMap = Button(
self._dialog, wx.ID_ANY, _("Create a new map"))
createMap.Bind(wx.EVT_BUTTON, self.OnExportMap)
self._dialog.AddWidget(createMap, proportion=0.1)
self._dialog.AddWidget(createMap, proportion=0)
self.slist = VectorSelectList(self._dialog)
self.slist.Bind(wx.EVT_LIST_KEY_DOWN, self.OnDelete)
self.slist.Bind(wx.EVT_LIST_ITEM_RIGHT_CLICK, self.OnDeleteRow)
Expand Down

0 comments on commit 8d740c6

Please sign in to comment.