]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
Reverted last wxBookCtrl change and added alignment check to notebook
[wxWidgets.git] / src / msw / settings.cpp
index a9b58c8a3546fa7aba85105ed107d5fee5dfb7c8..bee65992b7a4510ee1ceb5816fb5cf8be3075295 100644 (file)
     #pragma hdrstop
 #endif
 
+#include "wx/settings.h"
+
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/gdicmn.h"
 #endif
 
-#include "wx/settings.h"
-
 #include "wx/msw/private.h"
 
 #ifndef SPI_GETFLATMENU
@@ -309,8 +309,12 @@ static const int gs_metricsMap[] =
 
     SM_CXBORDER,
     SM_CYBORDER,
+#ifdef SM_CXCURSOR
     SM_CXCURSOR,
     SM_CYCURSOR,
+#else
+    -1, -1,
+#endif
     SM_CXDOUBLECLK,
     SM_CYDOUBLECLK,
 #if defined(__WIN32__) && defined(SM_CXDRAG)