Implement wxDataViewCtrl::SetRowHeight() for wxGTK.

Also document that this method can only be used to increase the row height
compared to the default, not to make it smaller.

See #12749.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-06-11 23:56:44 +00:00
parent 16a7d8a5a5
commit 0f4a54a655
3 changed files with 36 additions and 4 deletions

View File

@@ -1120,9 +1120,13 @@ public:
This function can only be used when all rows have the same height, i.e.
when wxDV_VARIABLE_LINE_HEIGHT flag is not used.
Currently this is implemented in the generic version only and nothing
is done (and @false returned) when using the native GTK or OS X
versions.
Currently this is implemented in the generic and native GTK versions
only and nothing is done (and @false returned) when using OS X port.
Also notice that this method can only be used to increase the row
height compared with the default one (as determined by the return value
of wxDataViewRenderer::GetSize()), if it is set to a too small value
then the minimum required by the renderers will be used.
@return @true if the line height was changed or @false otherwise.