]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/sashwin.h
fixed infinite recursion in SetFocus()
[wxWidgets.git] / include / wx / generic / sashwin.h
index 81fcdf1b88798092144f5d61fe0fe24aacdae7f4..2e90124cc75229c2c2ea7db6cfadbed2caf79bbe 100644 (file)
@@ -193,7 +193,11 @@ private:
 DECLARE_EVENT_TABLE()
 };
 
-#define wxEVT_SASH_DRAGGED (wxEVT_FIRST + 1200)
+BEGIN_DECLARE_EVENT_TYPES()
+    DECLARE_EVENT_TYPE(wxEVT_SASH_DRAGGED, wxEVT_FIRST + 1200)
+END_DECLARE_EVENT_TYPES()
+
+// #define wxEVT_SASH_DRAGGED (wxEVT_FIRST + 1200)
 
 enum wxSashDragStatus
 {