]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Implemented Reparent() and added test for it to minifram sample.
[wxWidgets.git] / src / common / utilscmn.cpp
index 3fe071d7b3af9d9055e616951444d8536ea0e3d0..9f91d813c8cf641f0d57270ded89ac42646c72eb 100644 (file)
@@ -355,6 +355,16 @@ StringMatch (char *str1, char *str2, bool subString, bool exact)
   return FALSE;
 }
 
+// Don't synthesize KeyUp events holding down a key and producing
+// KeyDown events with autorepeat. On by default and always on
+// 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
+
 // Return the current date/time
 // [volatile]
 wxString wxNow( void )