view makefile.wpm @ 1331:4c12170f003f

Make dw_notebook_page_destroy() on OS/2 and Windows destroy the contents of the page. I found that on GTK the contents will have the reference count lowered when the page is removed. Causing the contents to be destroyed... however this does not happen on OS/2 or Windows. The option was to either reference the contents before destroying the page on GTK or have OS/2 and Windows destroy the contents. Because of the name I decided to destroy the contents. It isn't clear to me what the behavior of removeTabViewItem is on the Mac so no changes there.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 10 Nov 2011 18:06:32 +0000
parents 75bf3051235f
children 56f311dc23f6
line wrap: on
line source

#===================================================================
#
#   Auto-dependency information
#
#===================================================================
OS22_H = $(%WATCOM)\h\os2
CFLAGS  = -i=os2 -i=$(OS22_H) -bt=OS2 -zq -d2 -bd

.SUFFIXES:
.SUFFIXES: .obj .c
.c.obj: .AUTODEPEND
	wcc386 $(CFLAGS) $*.c

all:	dw.dll dwcompat.dll

dwcompat.dll: compat.obj
	wlink name dwcompat.dll system os2v2_pm d a library so32dll,tcp32dll option symf f $[@

dw.dll: dw.obj
	wlink name dw.dll system os2v2_pm d a option symf f $[@

dw.obj: os2\dw.c
	wcc386 $(CFLAGS) os2\dw.c