mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
GUI: work around Python 3.10 + wxPython 4.2.0 bug
This commit is contained in:
@@ -2358,7 +2358,7 @@ class wx_python_gui:
|
||||
self.gpu_dropdown.SetSelection(0)
|
||||
self.gpu_dropdown.SetPosition(wx.Point(
|
||||
self.label_model.GetPosition().x,
|
||||
self.label_model.GetPosition().y + self.label_model.GetSize().height / 1.5))
|
||||
int(self.label_model.GetPosition().y + self.label_model.GetSize().height / 1.5)))
|
||||
self.gpu_dropdown.Bind(wx.EVT_CHOICE, self.gpu_selection_click)
|
||||
self.gpu_dropdown.Centre(wx.HORIZONTAL)
|
||||
self.gpu_dropdown.SetToolTip(wx.ToolTip("Configures MXM GPU Vendor logic on pre-built models\nIf you are not using MXM iMacs, please leave this setting as is."))
|
||||
|
||||
Reference in New Issue
Block a user