More key event work. Added SetDetectableAutoRepeat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -355,6 +355,16 @@ StringMatch (char *str1, char *str2, bool subString, bool exact)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Synthesize KeyUp events holding down a key and producing
|
||||
// KeyDown events with autorepeat. On by default an 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
|
||||
|
||||
// Return the current date/time
|
||||
// [volatile]
|
||||
wxString wxNow( void )
|
||||
|
Reference in New Issue
Block a user