]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/laywin.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / generic / laywin.h
index a2336325a1a6fea59e97b55ea0b1ec4ef7bcc92a..0539989a5fc43215ab40d2996e9f151a48e3c640 100644 (file)
 
 #include "wx/event.h"
 
-BEGIN_DECLARE_EVENT_TYPES()
-    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_ADV, wxEVT_QUERY_LAYOUT_INFO, 1500)
-    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_ADV, wxEVT_CALCULATE_LAYOUT, 1501)
-END_DECLARE_EVENT_TYPES()
+extern WXDLLIMPEXP_ADV const wxEventType wxEVT_QUERY_LAYOUT_INFO;
+extern WXDLLIMPEXP_ADV const wxEventType wxEVT_CALCULATE_LAYOUT;
 
 enum wxLayoutOrientation
 {