minor change

This commit is contained in:
Jinhao 2016-06-28 21:21:47 +08:00
parent 9bb6d1628b
commit b32afa282c

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