From 11e5cae93a57bf3c31011c32d3e47bbca7cacea8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 19 Feb 2026 14:31:49 +0100 Subject: [PATCH] Document wxStockHelpStringClient used by wxGetStockHelpString() This should have been done in e80d78c2c9 (Document wxGetStockHelpString() function, 2026-02-04) as all types used by the documented functions should themselves be documented. Closes #26206. --- interface/wx/stockitem.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/interface/wx/stockitem.h b/interface/wx/stockitem.h index 8c91dd8341..ec915c1c70 100644 --- a/interface/wx/stockitem.h +++ b/interface/wx/stockitem.h @@ -81,6 +81,16 @@ wxString wxGetStockLabel(wxWindowID id, long flags = wxSTOCK_WITH_MNEMONIC); ///@} +/** + Used with wxGetStockHelpString() to specify the context in which help + string is used. + */ +enum wxStockHelpStringClient +{ + /// Help string to use for menu items. + wxSTOCK_MENU +}; + /** @addtogroup group_funcmacro_misc */ ///@{