Skip to content

Commit

Permalink
Fix wxUIActionSimulator::Text() parameter documentation
Browse files Browse the repository at this point in the history
This function explicitly accepts ASCII strings only, so it's limited to
"const char*", but was incorrectly documented as taking wxString.

Closes #1879
  • Loading branch information
vadz committed Jun 1, 2020
1 parent 66c8437 commit 5b810b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/wx/uiaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ class wxUIActionSimulator
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);
};

0 comments on commit 5b810b1

Please sign in to comment.