diff --git a/wxPython/src/__controls_rename.i b/wxPython/src/__controls_rename.i index 10b7e9a76d..014ef676de 100644 --- a/wxPython/src/__controls_rename.i +++ b/wxPython/src/__controls_rename.i @@ -7,6 +7,7 @@ %rename(BU_TOP) wxBU_TOP; %rename(BU_RIGHT) wxBU_RIGHT; %rename(BU_BOTTOM) wxBU_BOTTOM; +%rename(BU_ALIGN_MASK) wxBU_ALIGN_MASK; %rename(BU_EXACTFIT) wxBU_EXACTFIT; %rename(BU_AUTODRAW) wxBU_AUTODRAW; %rename(Button) wxButton; diff --git a/wxPython/src/_button.i b/wxPython/src/_button.i index 53af38d7b0..07d48438ca 100644 --- a/wxPython/src/_button.i +++ b/wxPython/src/_button.i @@ -24,6 +24,8 @@ enum { wxBU_RIGHT, wxBU_BOTTOM, + wxBU_ALIGN_MASK, + wxBU_EXACTFIT, wxBU_AUTODRAW, }; diff --git a/wxPython/wxPython/_controls.py b/wxPython/wxPython/_controls.py index 68e45d6a30..7105da1930 100644 --- a/wxPython/wxPython/_controls.py +++ b/wxPython/wxPython/_controls.py @@ -24,6 +24,7 @@ wxBU_LEFT = wx._controls.BU_LEFT wxBU_TOP = wx._controls.BU_TOP wxBU_RIGHT = wx._controls.BU_RIGHT wxBU_BOTTOM = wx._controls.BU_BOTTOM +wxBU_ALIGN_MASK = wx._controls.BU_ALIGN_MASK wxBU_EXACTFIT = wx._controls.BU_EXACTFIT wxBU_AUTODRAW = wx._controls.BU_AUTODRAW wxButton = wx._controls.Button