Fix wxDataViewRenderer::GetEllipsizeMode() for kDataBrowserTruncateTextMiddle.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 16 Nov 2009 15:03:39 +0000 (15:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 16 Nov 2009 15:03:39 +0000 (15:03 +0000)
commitc32eeaccc3b5ad6be0baedb827b1d18aa9587a6d
treef6896ba8614d555a505a4792ec2de9ac991a946e
parent200c18cc6c5c11353f42c0550651c18a8a4cd5b0
Fix wxDataViewRenderer::GetEllipsizeMode() for kDataBrowserTruncateTextMiddle.

The value of this constant is 0 so don't test for it using operator "&", it's
just the default if no others are specified.

Fixes assert on startup of the dataview sample.

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