]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
1. serious bug in wxRegConfig corrected - deleting a value would delete the
[wxWidgets.git] / include / wx / msw / treectrl.h
index 429aa6983ea5fdcb38bf9fac618b309b88cd6250..b9b401cdbc52c3608afaf96061d6a1c61a11e61e 100644 (file)
@@ -15,6 +15,7 @@
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
+
 #ifdef __GNUG__
     #pragma interface "treectrl.h"
 #endif
 #include "wx/textctrl.h"
 
 #ifdef __GNUWIN32__
-#  ifdef GetFirstChild
-#    undef GetFirstChild
-#  endif
-
-#  ifdef GetNextSibling
-#    undef GetNextSibling
-#  endif
-#endif
+    // Cygwin windows.h defines these identifiers
+    #undef GetFirstChild
+    #undef GetNextSibling
+#endif // Cygwin
 
 // the type for "untyped" data
 typedef long wxDataType;