Fix wxOSX wxDataViewRenderers' alignment handling

Don't override renderer's wxDVR_DEFAULT_ALIGNMENT alignment when
column's alignment is set. Call a method to recompute effective
alignment instead.

Related to a6be5bda that fixed a similar issue in wxGTK.
This commit is contained in:
Václav Slavík
2016-11-21 18:38:47 +01:00
parent f32362bc79
commit 818b084b4b
2 changed files with 12 additions and 4 deletions

View File

@@ -76,6 +76,7 @@ public:
void SetNativeData(wxDataViewRendererNativeData* newNativeDataPtr);
void OSXUpdateAlignment();
#if wxOSX_USE_COCOA
// called when a value was edited by user