comparison win/dw.c @ 526:d3ce0afa6cf5

Remove extraneous arguments to dw_messagebox()
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 23 Mar 2004 10:10:27 +0000
parents 29547598b909
children e0ea29c3d1eb
comparison
equal deleted inserted replaced
525:2ff26b697877 526:d3ce0afa6cf5
4934 * If you try and pack an item into itself VERY bad things can happen; like at least an 4934 * If you try and pack an item into itself VERY bad things can happen; like at least an
4935 * infinite loop on GTK! Lets be safe! 4935 * infinite loop on GTK! Lets be safe!
4936 */ 4936 */
4937 if(box == item) 4937 if(box == item)
4938 { 4938 {
4939 dw_messagebox("dw_box_pack_start()", DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!",box,item); 4939 dw_messagebox("dw_box_pack_start()", DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!");
4940 return; 4940 return;
4941 } 4941 }
4942 4942
4943 thisbox = (Box *)GetWindowLongPtr(box, GWLP_USERDATA); 4943 thisbox = (Box *)GetWindowLongPtr(box, GWLP_USERDATA);
4944 if(thisbox) 4944 if(thisbox)
7908 * If you try and pack an item into itself VERY bad things can happen; like at least an 7908 * If you try and pack an item into itself VERY bad things can happen; like at least an
7909 * infinite loop on GTK! Lets be safe! 7909 * infinite loop on GTK! Lets be safe!
7910 */ 7910 */
7911 if(box == item) 7911 if(box == item)
7912 { 7912 {
7913 dw_messagebox("dw_box_pack_end()", DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!",box,item); 7913 dw_messagebox("dw_box_pack_end()", DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!");
7914 return; 7914 return;
7915 } 7915 }
7916 7916
7917 thisbox = (Box *)GetWindowLongPtr(box, GWLP_USERDATA); 7917 thisbox = (Box *)GetWindowLongPtr(box, GWLP_USERDATA);
7918 if(thisbox) 7918 if(thisbox)