Mercurial > dwindows
comparison template/dw.c @ 2909:3fe7641f027c
WARNING: Fix an API inconsistency in dw_notebook_page_destroy/set()
These two APIs incorrectly referenced the page ID as an int not long.
This change may cause ABI problems with programs that use these on some
platforms. Recompile your apps that use these functions for safety.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 27 Dec 2022 00:58:58 +0000 |
parents | 9d6280f206bd |
children | edb4307ac7ce |
comparison
equal
deleted
inserted
replaced
2908:1567f787b965 | 2909:3fe7641f027c |
---|---|
2540 * Remove a page from a notebook. | 2540 * Remove a page from a notebook. |
2541 * Parameters: | 2541 * Parameters: |
2542 * handle: Handle to the notebook widget. | 2542 * handle: Handle to the notebook widget. |
2543 * pageid: ID of the page to be destroyed. | 2543 * pageid: ID of the page to be destroyed. |
2544 */ | 2544 */ |
2545 void API dw_notebook_page_destroy(HWND handle, unsigned int pageid) | 2545 void API dw_notebook_page_destroy(HWND handle, unsigned long pageid) |
2546 { | 2546 { |
2547 } | 2547 } |
2548 | 2548 |
2549 /* | 2549 /* |
2550 * Queries the currently visible page ID. | 2550 * Queries the currently visible page ID. |
2562 * Sets the currently visible page ID. | 2562 * Sets the currently visible page ID. |
2563 * Parameters: | 2563 * Parameters: |
2564 * handle: Handle to the notebook widget. | 2564 * handle: Handle to the notebook widget. |
2565 * pageid: ID of the page to be made visible. | 2565 * pageid: ID of the page to be made visible. |
2566 */ | 2566 */ |
2567 void API dw_notebook_page_set(HWND handle, unsigned int pageid) | 2567 void API dw_notebook_page_set(HWND handle, unsigned long pageid) |
2568 { | 2568 { |
2569 } | 2569 } |
2570 | 2570 |
2571 /* | 2571 /* |
2572 * Sets the text on the specified notebook tab. | 2572 * Sets the text on the specified notebook tab. |