X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0492f7d97d77ec085e58d3f4a66c86508bc5f31..0ce742cf092c9244f27957e308c16f3c2631042d:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index db163acb3e..368b6409bc 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -23,11 +23,8 @@ #include "wx/setup.h" #include "wx/object.h" #include "wx/list.h" -#include "wx/window.h" #include "wx/filefn.h" -#include "wx/ioswrap.h" - #ifdef __X__ #include #include @@ -41,9 +38,10 @@ class WXDLLEXPORT wxProcess; class WXDLLEXPORT wxFrame; +class WXDLLEXPORT wxWindow; // FIXME should use wxStricmp() instead -#ifdef __GNUWIN32__ +#if defined(__GNUWIN32__) #define stricmp strcasecmp #define strnicmp strncasecmp #endif @@ -84,9 +82,9 @@ WXDLLEXPORT int wxGetOsVersion(int *majorVsn= (int *) NULL,int *minorVsn= (int * // Return a string with the current date/time WXDLLEXPORT wxString wxNow(); -// Synthesize KeyUp events holding down a key and producing -// KeyDown events with autorepeat. On by default an always -// on in wxMSW. +// 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 ); // ---------------------------------------------------------------------------- @@ -196,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);