Merge remote-tracking branch 'nana_jh/develop' into tests

This commit is contained in:
qPCR4vir 2016-06-30 17:04:04 +02:00
commit eb9a31676f

View File

@ -40,8 +40,10 @@ mouse_wheel::mouse_wheel()
{ {
#if defined(NANA_WINDOWS) #if defined(NANA_WINDOWS)
// https://msdn.microsoft.com/en-us/library/ms997498.aspx // https://msdn.microsoft.com/en-us/library/ms997498.aspx
#define SPI_SETWHEELSCROLLCHARS 0x006D //#define SPI_SETWHEELSCROLLCHARS 0x006D
# ifndef SPI_GETWHEELSCROLLCHARS
# define SPI_GETWHEELSCROLLCHARS 0x006C # define SPI_GETWHEELSCROLLCHARS 0x006C
# endif
::SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &lines, 0); ::SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &lines, 0);
::SystemParametersInfo(SPI_GETWHEELSCROLLCHARS, 0, &characters, 0); ::SystemParametersInfo(SPI_GETWHEELSCROLLCHARS, 0, &characters, 0);
#endif #endif