Move setting of mac.listctrl.always_use_generic to wx.PyApp.__init__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -172,6 +172,9 @@ in on the main display of your Mac."""
|
|||||||
# Use Python's install prefix as the default
|
# Use Python's install prefix as the default
|
||||||
wx.StandardPaths.Get().SetInstallPrefix(_sys.prefix)
|
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
|
# This finishes the initialization of wxWindows and then calls
|
||||||
# the OnInit that should be present in the derived class
|
# the OnInit that should be present in the derived class
|
||||||
self._BootstrapApp()
|
self._BootstrapApp()
|
||||||
|
@@ -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)
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user