X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca288f2afe1f31e6135dffc559ddd8b86d1d386e..2d5efafe74f3788bfd3b3d8b1e8e13135a595ed5:/samples/widgets/widgets.h diff --git a/samples/widgets/widgets.h b/samples/widgets/widgets.h index d82b03d1bb..32ea550ed1 100644 --- a/samples/widgets/widgets.h +++ b/samples/widgets/widgets.h @@ -18,7 +18,7 @@ #define WidgetsBookCtrl wxTreebook #define WidgetsBookCtrlEvent wxTreebookEvent #define EVT_WIDGETS_PAGE_CHANGING(id,func) EVT_TREEBOOK_PAGE_CHANGING(id,func) - #define wxEVT_COMMAND_WIDGETS_PAGE_CHANGED wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED + #define wxEVT_COMMAND_WIDGETS_PAGE_CHANGED wxEVT_TREEBOOK_PAGE_CHANGED #define wxWidgetsbookEventHandler(func) wxTreebookEventHandler(func) #else #include "wx/bookctrl.h" @@ -26,7 +26,7 @@ #define WidgetsBookCtrl wxBookCtrl #define WidgetsBookCtrlEvent wxBookCtrlEvent #define EVT_WIDGETS_PAGE_CHANGING(id,func) EVT_BOOKCTRL_PAGE_CHANGING(id,func) - #define wxEVT_COMMAND_WIDGETS_PAGE_CHANGED wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGED + #define wxEVT_COMMAND_WIDGETS_PAGE_CHANGED wxEVT_BOOKCTRL_PAGE_CHANGED #define wxWidgetsbookEventHandler(func) wxBookCtrlEventHandler(func) #endif @@ -57,8 +57,8 @@ class WidgetsPageInfo; // INTRODUCING NEW PAGES DON'T FORGET TO ADD ENTRIES TO 'WidgetsCategories' enum { - // On wxUniversal-based build (wxX11, wxMGL, wxMSWUniv, wxGTKUniv, etc.) - // 'native' means 'made with wxUniv port renderer' + // In wxUniversal-based builds 'native' means 'made with wxUniv port + // renderer' NATIVE_PAGE = 0, UNIVERSAL_PAGE = NATIVE_PAGE, GENERIC_PAGE,