A huge glob of changes in the 2.4 branch merged over to HEAD

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-10-02 00:58:06 +00:00
parent e3c0dc265f
commit 8b9a4190f7
180 changed files with 68512 additions and 1307 deletions

View File

@@ -17,7 +17,7 @@ Load color names/values from the rgb.txt file on my system...
def getColourList():
return map(lambda x: x[0], getColourInfoList())
return [ x[0] for x in getColourInfoList() ]
@@ -656,10 +656,14 @@ def getColourInfoList():
]
_haveUpdated = False
def updateColourDB():
from wxPython.wx import wxTheColourDatabase
cl = getColourInfoList()
for info in cl:
apply(wxTheColourDatabase.Append, info)
global _haveUpdated
if not _haveUpdated:
from wxPython.wx import wxTheColourDatabase
cl = getColourInfoList()
for info in cl:
wxTheColourDatabase.Append(*info)