# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1672104189 0 # Node ID 927fcf85b132d625c93cadf000251cb13c56f132 # Parent 3fe7641f027c1a73d6d3d267a857345f00cac194 GTK4: Fix pageid type to be unsigned long in the macros. Update the readme with information about this change. diff -r 3fe7641f027c -r 927fcf85b132 gtk4/dw.c --- a/gtk4/dw.c Tue Dec 27 00:58:58 2022 +0000 +++ b/gtk4/dw.c Tue Dec 27 01:23:09 2022 +0000 @@ -9127,7 +9127,7 @@ DW_FUNCTION_DEFINITION(dw_notebook_page_destroy, void, HWND handle, unsigned long pageid) DW_FUNCTION_ADD_PARAM2(handle, pageid) DW_FUNCTION_NO_RETURN(dw_notebook_page_destroy) -DW_FUNCTION_RESTORE_PARAM2(handle, HWND, pageid, unsigned int) +DW_FUNCTION_RESTORE_PARAM2(handle, HWND, pageid, unsigned long) { GtkWidget **pagearray; int realpage = _dw_get_physical_page(handle, pageid); @@ -9167,7 +9167,7 @@ DW_FUNCTION_DEFINITION(dw_notebook_page_set, void, HWND handle, unsigned long pageid) DW_FUNCTION_ADD_PARAM2(handle, pageid) DW_FUNCTION_NO_RETURN(dw_notebook_page_set) -DW_FUNCTION_RESTORE_PARAM2(handle, HWND, pageid, unsigned int) +DW_FUNCTION_RESTORE_PARAM2(handle, HWND, pageid, unsigned long) { int realpage = _dw_get_physical_page(handle, pageid); diff -r 3fe7641f027c -r 927fcf85b132 readme.txt --- a/readme.txt Tue Dec 27 00:58:58 2022 +0000 +++ b/readme.txt Tue Dec 27 01:23:09 2022 +0000 @@ -51,6 +51,10 @@ are packed. For portability pack widgets before operating on them. Changes from version 3.2: +WARNING: Fixed an API inconsistency in dw_notebook_page_destroy/set(). + The page ID had been unsigned int when it should be unsigned long. + On some platforms apps compiled for versions prior to 3.3 may + malfunction when calling these API calls, so recompile with 3.3. Added tree widget/control support for iOS and Android. Removed the lib and dll directories previously used on Windows and OS/2. On Windows x86 and x64 subdirectories are created automatically