Cleaned up getRectsBeingDrawn:count: related code.
authorDavid Elliott <dfe@tgwbd.org>
Fri, 22 Oct 2004 16:07:31 +0000 (16:07 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 22 Oct 2004 16:07:31 +0000 (16:07 +0000)
commit5dc471408f72c31e7bebcd9fcdcc2083f7c1da45
treed1602ceafeb16555ea3583734ccc7037f8614fa0
parent9d1e4703d315e6ee0a4257777b1ac175fd14325e
Cleaned up getRectsBeingDrawn:count: related code.
* Removed the exception handler; it's not needed anymore (thanks Ryan).
* Split the if statement and then case into two lines instead of one.
* Took some of the suggestions from the cocoa-dev mailing list:
- Changed code to use normal messaging syntax.
- Provided a category interface to silence the compiler warning on 10.2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/cocoa/window.mm