]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dvrenderers.h
Fix wxOSX warnings about int-to-void* casts.
[wxWidgets.git] / include / wx / dvrenderers.h
index 1cf3c457f95bfc4aba37d918392a1650005d9262..3f623cf6a60483952c6909b17ef21fb498f9cfbb 100644 (file)
@@ -167,6 +167,15 @@ protected:
     // 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;