[comp.sys.next] #import <dpsclients/wraps.h>

rca@cs.brown.edu (Ronald C.F. Antony) (04/01/90)

I just lost A LOT OF TIME, trying to figure out why a view subclass of
mine didn't work...
The great thing was that it did work, just that everything was way too
small on the screen (e.g. a 40 point Times letter was less than 1mm
high).

The solution was that I forgot to import the dpsclients/wraps.h file.
Now can anyone tell me why I was able to write to the screen at all?
I thought that I need only import this file when creating my own
wraps. So I guess NeXT should point this out much clearer in the final
1.0 tech doc. (Especially as in the C-Function summary there was no
pointer to this header file).

Hope this helps other people wasting less time than I did...

Ronald
------------------------------------------------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one persists
in trying to adapt the world to himself. Therefore all progress depends on the
unreasonable man."  Bernhard Shaw | rca@cs.brown.edu or antony@browncog.bitnet