X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61ef57fc5ec21c6561ec4a1f6b68bcc8e7a01b29..60b6c062f847a742fbc3c4ba4023bb8a0235da6d:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index ecc35d98e6..1349c6dda2 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -26,8 +26,6 @@ #include "wx/window.h" #include "wx/filefn.h" -#include "wx/ioswrap.h" - #ifdef __X__ #include #include @@ -43,7 +41,7 @@ class WXDLLEXPORT wxProcess; class WXDLLEXPORT wxFrame; // FIXME should use wxStricmp() instead -#ifdef __GNUWIN32__ +#if defined(__GNUWIN32__) #define stricmp strcasecmp #define strnicmp strncasecmp #endif @@ -84,6 +82,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 +194,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);