changeset 2741:0b1030337dd3

Add dw_window_reparent() to the list of deprecated functions. The only sanctioned use of this function was to move windows in and out of MDI (Multiple Document Interface). Due to no support on Mac, iOS and Android MDI is deprecated and only supported for legacy applications.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 19 Dec 2021 15:48:41 +0000
parents 9be24001d288
children 06b368d2e4f9
files dw.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dw.h	Sun Dec 19 15:39:43 2021 +0000
+++ b/dw.h	Sun Dec 19 15:48:41 2021 +0000
@@ -1964,7 +1964,7 @@
 int API dw_scrollbox_get_pos( HWND handle, int orient );
 int API dw_scrollbox_get_range( HWND handle, int orient );
 HWND API dw_groupbox_new(int type, int pad, const char *title);
-DW_DEPRECATED(HWND API dw_mdi_new(unsigned long id), "Due to lack of full Mac support consider avoiding this function.");
+DW_DEPRECATED(HWND API dw_mdi_new(unsigned long id), "Due to lack of Mac, iOS and Android support consider avoiding this function.");
 HWND API dw_bitmap_new(unsigned long id);
 HWND API dw_bitmapbutton_new(const char *text, unsigned long id);
 HWND API dw_bitmapbutton_new_from_file(const char *text, unsigned long id, const char *filename);
@@ -2021,7 +2021,7 @@
 void API dw_window_enable(HWND handle);
 void API dw_window_capture(HWND handle);
 void API dw_window_release(void);
-void API dw_window_reparent(HWND handle, HWND newparent);
+DW_DEPRECATED(void API dw_window_reparent(HWND handle, HWND newparent), "Due to the deprecation of MDI, the only approved use of this function.");
 void API dw_window_set_pointer(HWND handle, int pointertype);
 void API dw_window_set_focus(HWND handle);
 void API dw_window_default(HWND window, HWND defaultitem);