Correct text position in wxDataViewCustomRenderer::RenderText() in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Nov 2009 17:41:50 +0000 (17:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Nov 2009 17:41:50 +0000 (17:41 +0000)
commit2a454ffdbd2359111fc71b03d311fa3103a24370
tree912fb29ab5e1348ff3ce9085fb18f2e63b127b81
parenta923d77fc57722f430d21fd3bd6b5ec86d6e1bc3
Correct text position in wxDataViewCustomRenderer::RenderText() in wxGTK.

It simply ignored the passed in rectangle meaning that the text was always
drawn at the top left corner of the cell rectangle.

Also more code cleanup: collect all render call parameters in a single struct
and provide a public function to set them all at once instead of making them
public.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/dvrenderers.h
include/wx/gtk/private/gdkconv.h
src/gtk/dataview.cpp