Text alignment is for GTK 2.10 and above only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1100,8 +1100,10 @@ void wxDataViewTextRenderer::SetAlignment( int align )
|
||||
{
|
||||
wxDataViewRenderer::SetAlignment(align);
|
||||
|
||||
// horizontal alignment:
|
||||
if (gtk_check_version(2,10,0))
|
||||
return;
|
||||
|
||||
// horizontal alignment:
|
||||
PangoAlignment pangoAlign = PANGO_ALIGN_LEFT;
|
||||
if (align & wxALIGN_RIGHT)
|
||||
pangoAlign = PANGO_ALIGN_RIGHT;
|
||||
|
Reference in New Issue
Block a user