Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSWindow setStyleMask triggers exception in 10.5.8 #361

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

NSWindow setStyleMask triggers exception in 10.5.8 #361

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments


Copy link

@SDLBugzilla SDLBugzilla commented Feb 10, 2021

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 2.0
Reported for operating system, platform: Mac OS X 10.5 (PPC), PowerPC

Comments on the original bug report:

On 2011-02-19 11:49:08 +0000, Jesse Anders wrote:

In SDL_cocoawindow.m, at lines 728 and 732, the calls to 'setStyleMask' trigger an exception in OS X 10.5.8.

The exception is:

-[SDLWindow setStyleMask:]: unrecognized selector sent to instance

When building in Xcode, the lines in question generate the following warning:

warning: 'NSWindow' may not respond to '-setStyleMask:'
(Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments.)

The reference at:

States that setStyleMask is available 'in Mac OS X v10.6 and later', which seems like it could be the cause of the problem.

Apologies if this is user error, and please let me know if you need any other info.

On 2011-02-19 12:00:22 +0000, Sam Lantinga wrote:

Ah thanks, this is actually really useful information drastically affecting a problem I've been wrestling with the past few days.

On 2011-02-20 13:49:56 +0000, Sam Lantinga wrote:

Fixed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant