]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/sashwin.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / generic / sashwin.h
index 6c33ff5f15666a6d20cff5c11f20e4afc2e95d4d..b89fe8159a2f6dc5f6d6b0bcf9532e41aa0d1a78 100644 (file)
@@ -203,10 +203,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxSashWindow)
 };
 
-BEGIN_DECLARE_EVENT_TYPES()
-    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_ADV,
-                                wxEVT_SASH_DRAGGED, wxEVT_FIRST + 1200)
-END_DECLARE_EVENT_TYPES()
+extern WXDLLIMPEXP_ADV const wxEventType wxEVT_SASH_DRAGGED;
 
 enum wxSashDragStatus
 {