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
This commit is contained in:
parent
f6d43eda3e
commit
331c8101d2
@ -395,7 +395,7 @@ class xxxFrame(xxxContainer):
|
|||||||
exStyles = ['wxWS_EX_VALIDATE_RECURSIVELY']
|
exStyles = ['wxWS_EX_VALIDATE_RECURSIVELY']
|
||||||
|
|
||||||
class xxxTool(xxxObject):
|
class xxxTool(xxxObject):
|
||||||
allParams = ['bitmap', 'bitmap2', 'toggle', 'tooltip', 'longhelp']
|
allParams = ['bitmap', 'bitmap2', 'toggle', 'tooltip', 'longhelp', 'label']
|
||||||
required = ['bitmap']
|
required = ['bitmap']
|
||||||
paramDict = {'bitmap2': ParamBitmap, 'toggle': ParamBool}
|
paramDict = {'bitmap2': ParamBitmap, 'toggle': ParamBool}
|
||||||
hasStyle = False
|
hasStyle = False
|
||||||
@ -407,7 +407,7 @@ class xxxToolBar(xxxContainer):
|
|||||||
paramDict = {'bitmapsize': ParamPosSize, 'margins': ParamPosSize,
|
paramDict = {'bitmapsize': ParamPosSize, 'margins': ParamPosSize,
|
||||||
'packing': ParamInt, 'separation': ParamInt,
|
'packing': ParamInt, 'separation': ParamInt,
|
||||||
'style': ParamNonGenericStyle}
|
'style': ParamNonGenericStyle}
|
||||||
winStyles = ['wxTB_FLAT', 'wxTB_DOCKABLE', 'wxTB_VERTICAL', 'wxTB_HORIZONTAL']
|
winStyles = ['wxTB_FLAT', 'wxTB_DOCKABLE', 'wxTB_VERTICAL', 'wxTB_HORIZONTAL', 'wxTB_TEXT']
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Bitmap, Icon
|
# Bitmap, Icon
|
||||||
|
Loading…
Reference in New Issue
Block a user