Skip to content

Commit 3e6b899

Browse files
committed
add wx.FileHistory
1 parent d95da8a commit 3e6b899

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

etg/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
#'fontenum',
218218
#'fontmap',
219219
#'mousemanager',
220-
#'filehistory',
220+
'filehistory',
221221
#'cmdproc',
222222
#'fswatcher',
223223
#'preferences',

etg/unfinished/filehistory.py renamed to etg/filehistory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def run():
3636
c.addPrivateCopyCtor()
3737

3838
# There is already a wxMenuList class so we have to name this one something else.
39-
module.addItem(
40-
tools.wxListWrapperTemplate('wxList', 'wxMenu', module,
41-
fakeListClassName='wxFileHistoryMenuList'))
39+
tools.wxListWrapperTemplate('wxList', 'wxMenu', module,
40+
fakeListClassName='wxFileHistoryMenuList')
41+
4242
c.find('GetMenus').type = 'const wxFileHistoryMenuList&'
4343
c.find('GetMenus').noCopy = True
4444

0 commit comments

Comments
 (0)