// Called from {Cancel,Finish}Editing() to cleanup m_editorCtrl
void DestroyEditControl();
+ // Return the alignment of this renderer if it's specified (i.e. has value
+ // different from the default wxDVR_DEFAULT_ALIGNMENT) or the alignment of
+ // the column it is used for otherwise.
+ //
+ // Unlike GetAlignment(), this always returns a valid combination of
+ // wxALIGN_XXX flags (although possibly wxALIGN_NOT) and never returns
+ // wxDVR_DEFAULT_ALIGNMENT.
+ int GetEffectiveAlignment() const;
+
wxString m_variantType;
wxDataViewColumn *m_owner;
wxWeakRef<wxWindow> m_editorCtrl;