Changeset [3775c3fb2e4148824692029cd5e46d6e8fb2eddf] by Alexander Ljungberg

December 17th, 2012 @ 02:22 PM

Fixed: CPAlert was a CPView.

Before this fix, CPAlert subclassed CPView, causing an API mismatch with Cocoa and exposing unexpected methods in the public API which made no sense for a CPAlert such as autoresizing masks. It also lead to CPAlert mistakingly shadowing _window from its CPView superclass.

This fix makes CPAlert inherit from CPObject as it should. The theming, which needs to be applied to a view, was moved to an internal view.
https://github.com/cappuccino/cappuccino/commit/3775c3fb2e414882469...

Committed by Alexander Ljungberg

  • M AppKit/CPAlert.j
  • M AppKit/Themes/Aristo/ThemeDescriptors.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins