X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61ef57fc5ec21c6561ec4a1f6b68bcc8e7a01b29..9df8c2df09b78461a52f8b6d12ee9f3475e8c3da:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index ecc35d98e6..4a11fd3316 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -84,6 +84,11 @@ WXDLLEXPORT int wxGetOsVersion(int *majorVsn= (int *) NULL,int *minorVsn= (int * // Return a string with the current date/time WXDLLEXPORT wxString wxNow(); +// Don't synthesize KeyUp events holding down a key and producing +// KeyDown events with autorepeat. On by default and always on +// in wxMSW. +WXDLLEXPORT bool wxSetDetectableAutoRepeat( bool flag ); + // ---------------------------------------------------------------------------- // Window ID management // ---------------------------------------------------------------------------- @@ -191,6 +196,7 @@ WXDLLEXPORT wxString wxGetHostName(); // Get FQDN WXDLLEXPORT wxString wxGetFullHostName(); +WXDLLEXPORT bool wxGetFullHostName(wxChar *buf, int maxSize); // Get user ID e.g. jacs (this is known as login name under Unix) WXDLLEXPORT bool wxGetUserId(wxChar *buf, int maxSize);