More cleanup of OS X Cocoa wxDataViewCtrl code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Nov 2009 17:42:38 +0000 (17:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Nov 2009 17:42:38 +0000 (17:42 +0000)
commit2406d5341f5b0eb3c447d6bcb1c170f0d9df5c35
tree6dab9ac6d8ace9265dc1df70b393ccbf254bd416
parentb0607dd221a6110cbd2a4a42e379b93e5f2d5334
More cleanup of OS X Cocoa wxDataViewCtrl code.

Add wxDataViewItemFromItem() and wxDataViewItemFromMaybeNilItem() functions
instead of repeating the same ugly casts several dozens of times.

Also wrap some more long lines.

No real changes.

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