#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 <dirent.h>
#include <unistd.h>
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
// 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
// ----------------------------------------------------------------------------
// 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);
// Get the user's home dir (caller must copy --- volatile)
// returns NULL is no HOME dir is known
+#if defined(__UNIX__) && wxUSE_UNICODE
+WXDLLEXPORT const wxMB2WXbuf wxGetUserHome(const wxString& user = wxEmptyString);
+#else
WXDLLEXPORT wxChar* wxGetUserHome(const wxString& user = wxEmptyString);
+#endif
// ----------------------------------------------------------------------------
// Strip out any menu codes