diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index f6f7a5ac3e..a7fef27613 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -172,6 +172,9 @@ in on the main display of your Mac.""" # Use Python's install prefix as the default wx.StandardPaths.Get().SetInstallPrefix(_sys.prefix) + # Until the new native control for wxMac is up to par, still use the generic one. + wx.SystemOptions.SetOptionInt("mac.listctrl.always_use_generic", 1) + # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class self._BootstrapApp() diff --git a/wxPython/src/_settings.i b/wxPython/src/_settings.i index f45d1fe3b9..18e01bd70b 100644 --- a/wxPython/src/_settings.i +++ b/wxPython/src/_settings.i @@ -204,11 +204,4 @@ public: }; - -%pythoncode { - %# Until the new native control for wxMac is up to par, still use the generic one. - SystemOptions.SetOptionInt("mac.listctrl.always_use_generic", 1) -} - - //---------------------------------------------------------------------------