Hello Johan,
this was the mystery: Why it crashes with NSMinXEdge when I only use
NSMinYEdge. But the comment from Shawn helped me find the right
answer.
I have to set the Base SDK to 10.5 and the deployment SDK to 10.4.
This, at least, solved the crash on Leopard. I cannot test it on
Hello,
I have a problem:
- (id)initWithContentRect:(NSRect)contentRect styleMask: (unsigned
int)windowStyle backing:(NSBackingStoreType)bufferingType defer:
(BOOL)deferCreation
{
BOOL useTextured = YES;
if([self
respondsToSelector:@selector(setContentBorderThickness:forEdge:)])
Hi Georg,
How about doing something like this? (typed in Mail, so check for
typos). Using the preprocessor macros should also be a *bit* more
efficient, since it won't be doing any checks at runtime.
{
#if MAC_OS_X_VERSION_MAX_ALLOWED = MAC_OS_X_VERSION_10_5
windowStyle ^=
On Mon, Aug 25, 2008 at 3:14 PM, Matt Ball [EMAIL PROTECTED] wrote:
Hi Georg,
How about doing something like this? (typed in Mail, so check for
typos). Using the preprocessor macros should also be a *bit* more
efficient, since it won't be doing any checks at runtime.
{
#if
Hi Matt,
Your code does the same than mine. The code in question is called only
on Leopard. But the problem occurs only there. Is seem that if you
have compiled against 10.4 you cannot call functions from the 10.5
SDK
Is there some compatibility build setting or something else?
Georg
On Mon, Aug 25, 2008 at 10:17 PM, Georg Seifert [EMAIL PROTECTED] wrote:
Hi Matt,
Your code does the same than mine. The code in question is called only on
Leopard. But the problem occurs only there. Is seem that if you have
compiled against 10.4 you cannot call functions from the 10.5
On Aug 25, 2008, at 12:22 PM, Georg Seifert wrote:
Hello,
I have a problem:
- (id)initWithContentRect:(NSRect)contentRect styleMask: (unsigned
int)windowStyle backing:(NSBackingStoreType)bufferingType defer:
(BOOL)deferCreation
{
BOOL useTextured = YES;
if([self