Move wxSetDetectableAutoRepeat() to a section compiled in wxCore.
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
This commit is contained in:
parent
8a72770aa6
commit
ef3da29bf1
@ -161,16 +161,6 @@ wxString wxDecToHex(int dec)
|
||||
// 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()
|
||||
{
|
||||
@ -933,6 +923,13 @@ void wxQsort(void *const pbase, size_t total_elems,
|
||||
|
||||
#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
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user