]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listbook.h
handle actions of the columns popup menu in wxHeaderCtrl itself (but the derived...
[wxWidgets.git] / include / wx / listbook.h
index 57f24203dd73600ef0241292cd477b9868059594..a8abcce05259087532f3b32f78ca082f9e515e91 100644 (file)
@@ -124,8 +124,10 @@ private:
 // listbook event class and related stuff
 // ----------------------------------------------------------------------------
 
-// wxListbookEvent is obsolete and defined for compatibility only
-typedef wxBookCtrlEvent wxListbookEvent;
+// wxListbookEvent is obsolete and defined for compatibility only (notice that
+// we use #define and not typedef to also keep compatibility with the existing
+// code which forward declares it)
+#define wxListbookEvent wxBookCtrlEvent
 typedef wxBookCtrlEventFunction wxListbookEventFunction;
 #define wxListbookEventHandler(func) wxBookCtrlEventHandler(func)