Add wxSYS_CARET_{ON,OFF,TIMEOUT}_MSEC system settings

Provide a way to retrieve the caret blink times from wxSystemSe and implement
it for wxOSX and wxGTK.

Closes #17629.
This commit is contained in:
brawer
2016-08-19 22:55:20 +02:00
committed by Vadim Zeitlin
parent 75e254fce7
commit 7f10d1fa8a
5 changed files with 138 additions and 2 deletions

View File

@@ -137,7 +137,10 @@ enum wxSystemMetric
wxSYS_PENWINDOWS_PRESENT,
wxSYS_SHOW_SOUNDS,
wxSYS_SWAP_BUTTONS,
wxSYS_DCLICK_MSEC
wxSYS_DCLICK_MSEC,
wxSYS_CARET_ON_MSEC,
wxSYS_CARET_OFF_MSEC,
wxSYS_CARET_TIMEOUT_MSEC
};
// possible values for wxSystemSettings::HasFeature() parameter