]> git.saurik.com Git - wxWidgets.git/commit
Add ellipsization support to wxDataViewCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Oct 2009 21:35:26 +0000 (21:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Oct 2009 21:35:26 +0000 (21:35 +0000)
commitc937bcac0fb8a8df7c0cbfc8c478a2874fec3eb9
tree9c337f5c6e4c9e3fc3cd4ea9ac606c1dee82fa7c
parent355ce7adea8043d72e02cd00aa7f475f3b3be92d
Add ellipsization support to wxDataViewCtrl.

Implemented ellipsization in the generic, GTK and both OS X Carbon and Cocoa
versions but it currently doesn't work well in GTK as it changes the item
alignment unconditionally, this will need to be fixed later.

The behaviour for the columns is currently inconsistent between ports too:
under MSW they (natively) use wxELLIPSIZE_END, under GTK -- wxELLIPSIZE_NONE
and under OS X the same ellipsization mode as the column contents, i.e.
wxELLIPSIZE_MIDDLE by default.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
15 files changed:
docs/changes.txt
include/wx/control.h
include/wx/dataview.h
include/wx/generic/dataview.h
include/wx/gtk/dataview.h
include/wx/osx/cocoa/dataview.h
include/wx/osx/dataview.h
interface/wx/control.h
interface/wx/dataview.h
samples/dataview/mymodels.cpp
src/common/ctrlcmn.cpp
src/generic/datavgen.cpp
src/gtk/dataview.cpp
src/osx/carbon/dataview.cpp
src/osx/cocoa/dataview.mm