Do not limit label width in wxToolBar by control width
This removes irregular behaviour in setting the label of a control. Creating a control with label now behaves the same as setting or changing the label later on. And behaves the same as for other tools in the wxToolBar. Closes https://github.com/wxWidgets/wxWidgets/pull/1289
This commit is contained in:
committed by
Vadim Zeitlin
parent
20c7421a67
commit
94907d3893
@@ -333,10 +333,6 @@ public:
|
||||
@param label
|
||||
Text to be displayed near the control.
|
||||
|
||||
@remarks
|
||||
wxMSW: the label is only displayed if there is enough space
|
||||
available below the embedded control.
|
||||
|
||||
@remarks
|
||||
wxMac: labels are only displayed if wxWidgets is built with @c
|
||||
wxMAC_USE_NATIVE_TOOLBAR set to 1
|
||||
|
Reference in New Issue
Block a user