Use "wxCheckListBox" instead of the deprecated "wxCheckList"

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-02-11 00:22:50 +00:00
parent b159c5c481
commit edfeb1b84d
2 changed files with 4 additions and 4 deletions

View File

@ -144,7 +144,7 @@ class PullDownMenu:
ID_NEW.SCROLL_BAR: 'wxScrollBar',
ID_NEW.TREE_CTRL: 'wxTreeCtrl',
ID_NEW.LIST_CTRL: 'wxListCtrl',
ID_NEW.CHECK_LIST: 'wxCheckList',
ID_NEW.CHECK_LIST: 'wxCheckListBox',
ID_NEW.NOTEBOOK: 'wxNotebook',
ID_NEW.SCROLLED_WINDOW: 'wxScrolledWindow',
ID_NEW.HTML_WINDOW: 'wxHtmlWindow',

View File

@ -223,7 +223,7 @@ class xxxObject:
elif tag in self.specials:
self.special(tag, node)
elif tag == 'content':
if self.className == 'wxCheckList':
if self.className == 'wxCheckListBox':
self.params[tag] = xxxParamContentCheckList(node)
else:
self.params[tag] = xxxParamContent(node)
@ -245,7 +245,7 @@ class xxxObject:
if self.default.has_key(param):
elem = g.tree.dom.createElement(param)
if param == 'content':
if self.className == 'wxCheckList':
if self.className == 'wxCheckListBox':
self.params[param] = xxxParamContentCheckList(elem)
else:
self.params[param] = xxxParamContent(elem)
@ -783,7 +783,7 @@ xxxDict = {
'wxScrollBar': xxxScrollBar,
'wxTreeCtrl': xxxTreeCtrl,
'wxListCtrl': xxxListCtrl,
'wxCheckList': xxxCheckList,
'wxCheckListBox': xxxCheckList,
'wxNotebook': xxxNotebook,
'notebookpage': xxxNotebookPage,
'wxHtmlWindow': xxxHtmlWindow,