Rather similarly InsetRect seems to have been removed too.
If I patch so that compilation gets beyond the above I see complaints
about invalid static casts in osx/cocoa/dataview.mm where in SDK 10.7 I
get a moan that objc_object* may not be cast to wxDataViewColumn* -
while with SDK10.6 my compilation at least completed OK.
If I use the 10.6 SDK on Lion I still seem to need to avoid any attempt
to build ppc code but I can build a working library so this is not
totally urgent...
>If I use the 10.6 SDK on Lion I still seem to need to avoid any attempt
>to build ppc code but I can build a working library so this is not
>totally urgent...
ppc support was thrown out of xcode 4 and clang, so be sure to keep a
version of XCode 3 around
Best,
Stefan
AN> The attachment gives diffs showing temporary hacks I put in my copy so I
AN> could at least compile using the 10.7 SDK. They give me a version I can
AN> play with some more on Lion... and at least they give 100% definite
AN> pointers to the places that gave me trouble... My casts via "void *"
AN> really do not seem a proper way to go!
I do wonder what does "pointer" return now if it doesn't return "void *"
though. And how can we convert "id" (Objective C object pointer) to C
pointer and whether it's even still valid... Unfortunately I don't know
the answers to these questions nor how to find them.
I am also curious to know why did they feel the need to deprecate and then
remove InsetRect(), this really doesn't look like a function that it would
be expensive to keep nor is it obviously "wrong" in any way I can see. Oh
well, it's Apple.
Regards,
VZ
I've put the question about the proper handling on the apple dev forums,
if I don't get an answer, I'll spend a Developer Request. The way SDK 10.7
is right now, building something for < 10.6 is not really supported, but I
have not found a definitive answer in a release note or somewhere...
Best,
Stefan