]> git.saurik.com Git - wxWidgets.git/commitdiff
Move setting of mac.listctrl.always_use_generic to wx.PyApp.__init__
authorRobin Dunn <robin@alldunn.com>
Tue, 7 Nov 2006 01:57:27 +0000 (01:57 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 7 Nov 2006 01:57:27 +0000 (01:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_app_ex.py
wxPython/src/_settings.i

index f6f7a5ac3e657b61940a05a108d4fadaee24021f..a7fef27613cb7618207b4d267595b0c3501a3d73 100644 (file)
@@ -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()
index f45d1fe3b9b0babdc9ceb76d3778dd250debe81b..18e01bd70b3e21740dc2e68f0fa36d4cd7d5114c 100644 (file)
@@ -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)
-}
-
-
 //---------------------------------------------------------------------------