From a459580052cc12548e9105cfbe737dc36a323588 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 8 Apr 2023 16:32:03 +0200 Subject: [PATCH] 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. --- interface/wx/toolbar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/toolbar.h b/interface/wx/toolbar.h index eb188823c9..b180e55985 100644 --- a/interface/wx/toolbar.h +++ b/interface/wx/toolbar.h @@ -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);