]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/registry.cpp
Smooth Aqua buttons in wxTreeCtrl.
[wxWidgets.git] / src / msw / registry.cpp
index b0c061c1d0f5c53fbbe1940c8af69a6a6a43b775..34e7c891a51efc34d8acec68f80f7ce97b581c76 100644 (file)
@@ -316,7 +316,7 @@ bool wxRegKey::GetKeyInfo(size_t *pnSubKeys,
 #if defined(__WIN32__) && !defined(__TWIN32__)
 
     // old gcc headers incorrectly prototype RegQueryInfoKey()
-#ifdef __GNUWIN32_OLD__
+#if defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)
     #define REG_PARAM   (size_t *)
 #else
     #define REG_PARAM   (LPDWORD)