X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d156af3247c862e51a7c62f569a3fd302052a42..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/accel.h
diff --git a/interface/wx/accel.h b/interface/wx/accel.h
index 580d30033d..0444340d06 100644
--- a/interface/wx/accel.h
+++ b/interface/wx/accel.h
@@ -2,7 +2,6 @@
// Name: accel.h
// Purpose: interface of wxAccelerator* classes
// Author: wxWidgets team
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -108,12 +107,26 @@ public:
/**
Returns a textual representation of this accelerator.
- The returned string is of the form [Alt+][Ctrl+][Shift+]Key
+ The returned string is of the form [Alt+][Ctrl+][RawCtrl+][Shift+]Key
where the modifier keys are present only if the corresponding flag is
set.
*/
wxString ToString() const;
+ /**
+ Returns a textual representation of this accelerator which is
+ appropriate for saving in configuration files.
+
+ Unlike the string returned by ToString(), this one is never translated
+ so, while it's not suitable for showing to the user, it can be used to
+ uniquely identify the accelerator independently of the user language.
+
+ The returned string can still be parsed by FromString().
+
+ @since 2.9.4
+ */
+ wxString ToRawString() const;
+
/**
Parses the given string and sets the accelerator accordingly.