Fix remark about labels under Mac in wxToolBar::AddControl()

Use "new" (only used since 292e5e1f17 (OSX renaming round 2, 2008-07-30)
name of the preprocessor constant and mention that it's enabled by
default.
This commit is contained in:
Vadim Zeitlin 2023-04-08 16:32:03 +02:00
parent 17b25122e2
commit a459580052

View file

@ -352,7 +352,7 @@ public:
@remarks
wxMac: labels are only displayed if wxWidgets is built with @c
wxMAC_USE_NATIVE_TOOLBAR set to 1
wxOSX_USE_NATIVE_TOOLBAR set to 1 (which is the default).
*/
virtual wxToolBarToolBase* AddControl(wxControl* control,
const wxString& label = wxEmptyString);