Lots of bup fixes, API updates, etc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-11-21 07:39:05 +00:00
parent fbd5dd1dfa
commit 7722248d75
36 changed files with 462 additions and 352 deletions

View File

@@ -661,9 +661,10 @@ _haveUpdated = False
def updateColourDB():
global _haveUpdated
if not _haveUpdated:
from wxPython.wx import wxTheColourDatabase
import wx
assert wx.GetApp() is not None, "You must have a wx.App object before you can use the colour database."
cl = getColourInfoList()
for info in cl:
wxTheColourDatabase.Append(*info)
wx.TheColourDatabase.Append(*info)