]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
*** empty log message ***
[wxWidgets.git] / include / wx / msw / treectrl.h
index 105b5674479b251aadd4e57f229fdd9b1a30d7d4..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;
@@ -447,7 +444,6 @@ public:
 
     // implementation
     // --------------
-    void Command(wxCommandEvent& event) { ProcessCommand(event); };
     virtual bool MSWCommand(WXUINT param, WXWORD id);
     virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);