This function was mistakenly defined in a section of utilscmn.cpp compiled as
part of wxBase, so it wasn't correctly exported from the core library and
linking any wxX11 applications failed when using compiler with visibility
support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62000
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// misc functions
// ----------------------------------------------------------------------------
-// Don't synthesize KeyUp events holding down a key and producing KeyDown
-// events with autorepeat. On by default and always on in wxMSW. wxGTK version
-// in utilsgtk.cpp.
-#ifndef __WXGTK__
-bool wxSetDetectableAutoRepeat( bool WXUNUSED(flag) )
-{
- return true; // detectable auto-repeat is the only mode MSW supports
-}
-#endif // !wxGTK
-
// Return the current date/time
wxString wxNow()
{
#if wxUSE_GUI
+#ifndef __WXGTK__
+bool wxSetDetectableAutoRepeat( bool WXUNUSED(flag) )
+{
+ return true; // detectable auto-repeat is the only mode MSW supports
+}
+#endif // !wxGTK
+
// ----------------------------------------------------------------------------
// Launch default browser
// ----------------------------------------------------------------------------