From 5b810b129db00a98c84672cd94a4a4be83ba8e69 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 1 Jun 2020 17:25:41 +0200 Subject: [PATCH] Fix wxUIActionSimulator::Text() parameter documentation This function explicitly accepts ASCII strings only, so it's limited to "const char*", but was incorrectly documented as taking wxString. Closes https://github.com/wxWidgets/wxWidgets/pull/1879 --- interface/wx/uiaction.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/uiaction.h b/interface/wx/uiaction.h index 27b3aaf2c2..7d4eba5253 100644 --- a/interface/wx/uiaction.h +++ b/interface/wx/uiaction.h @@ -176,8 +176,8 @@ public: keyboard layout but may not work with other layouts. @param text - The string to type. + The string, containing only US ASCII characters, to type. */ - bool Text(const wxString& text); + bool Text(const char* text); };