Skip to content

Commit

Permalink
Tweak wxAuiTabCtrl into _aui.auibook
Browse files Browse the repository at this point in the history
  • Loading branch information
mesalu committed Jan 8, 2018
1 parent ea4969d commit 2adb4aa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/sphinx/itemToModuleMap.json
Expand Up @@ -256,6 +256,7 @@
"AuiTabArt":"wx.aui.",
"AuiTabContainer":"wx.aui.",
"AuiTabContainerButton":"wx.aui.",
"AuiTabCtrl":"wx.aui.",
"AuiToolBar":"wx.aui.",
"AuiToolBarArt":"wx.aui.",
"AuiToolBarArtSetting":"wx.aui.",
Expand Down
19 changes: 19 additions & 0 deletions etg/auibook.py
Expand Up @@ -79,6 +79,25 @@ def run():



#-----------------------------------------------------------------
# Add AuiTabCtrl in.
c = etgtools.ClassDef(name = "wxAuiTabCtrl",
bases = ["wxControl", "wxAuiTabContainer"],
mustHaveAppFlag = True,
items = [
etgtools.MethodDef(name = "wxAuiTabCtrl",
classname="wxAuiTabCtrl", isCtor=True,
items = [
etgtools.ParamDef(type = "wxWindow*", name = "parent"),
etgtools.ParamDef(type = "wxWindowID", name = "id", default="wxID_ANY"),
etgtools.ParamDef(type = "const wxPoint&", name = "pos", default = "wxDefaultPosition"),
etgtools.ParamDef(type = "const wxSize&", name = "size", default = "wxDefaultSize"),
etgtools.ParamDef(type = "long", name = "style", default = "0") ]),
etgtools.MethodDef(type = "bool", name = "IsDragging", classname = "wxAuiTabCtrl", isConst = True)
])

module.addItem(c)

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.runGenerators(module)
Expand Down

0 comments on commit 2adb4aa

Please sign in to comment.