From: Robin Dunn Date: Sun, 6 Mar 2005 03:31:21 +0000 (+0000) Subject: Added toolbar wxTB_TEXT flag and tool label property X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/331c8101d24e31ae9cbe13eb162fdc3f8b0204de?ds=sidebyside;hp=f6d43eda3e8bc5c17cd3c55f037abcc4a4e043be Added toolbar wxTB_TEXT flag and tool label property git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/tools/XRCed/xxx.py b/wxPython/wx/tools/XRCed/xxx.py index 1fb1c81ebe..29809fdfdf 100644 --- a/wxPython/wx/tools/XRCed/xxx.py +++ b/wxPython/wx/tools/XRCed/xxx.py @@ -395,7 +395,7 @@ class xxxFrame(xxxContainer): exStyles = ['wxWS_EX_VALIDATE_RECURSIVELY'] class xxxTool(xxxObject): - allParams = ['bitmap', 'bitmap2', 'toggle', 'tooltip', 'longhelp'] + allParams = ['bitmap', 'bitmap2', 'toggle', 'tooltip', 'longhelp', 'label'] required = ['bitmap'] paramDict = {'bitmap2': ParamBitmap, 'toggle': ParamBool} hasStyle = False @@ -407,7 +407,7 @@ class xxxToolBar(xxxContainer): paramDict = {'bitmapsize': ParamPosSize, 'margins': ParamPosSize, 'packing': ParamInt, 'separation': ParamInt, 'style': ParamNonGenericStyle} - winStyles = ['wxTB_FLAT', 'wxTB_DOCKABLE', 'wxTB_VERTICAL', 'wxTB_HORIZONTAL'] + winStyles = ['wxTB_FLAT', 'wxTB_DOCKABLE', 'wxTB_VERTICAL', 'wxTB_HORIZONTAL', 'wxTB_TEXT'] ################################################################################ # Bitmap, Icon