// constructors / destructor
//
wxDataViewRenderer(wxString const& varianttype, wxDataViewCellMode mode=wxDATAVIEW_CELL_INERT, int align=wxDVR_DEFAULT_ALIGNMENT);
-
+
virtual ~wxDataViewRenderer(void);
//
return this->m_NativeDataPtr;
}
- virtual bool Render() = 0; // a call to the native data browser function to render the data;
+ virtual bool MacRender() = 0; // a call to the native data browser function to render the data;
// returns true if the data value could be rendered, false otherwise
void SetNativeData(wxDataViewRendererNativeData* newNativeDataPtr);
//
// implementation
//
- virtual bool Render();
+ virtual bool MacRender();
void SetDC(wxDC* newDCPtr); // this method takes ownership of the pointer
//
// inherited functions from wxDataViewRenderer
//
- virtual bool Render();
+ virtual bool MacRender();
protected:
private:
//
// inherited functions from wxDataViewRenderer
//
- virtual bool Render();
+ virtual bool MacRender();
protected:
private:
//
// inherited functions from wxDataViewRenderer
//
- virtual bool Render();
+ virtual bool MacRender();
//
// implementation
//
// inherited functions from wxDataViewRenderer
//
- virtual bool Render();
+ virtual bool MacRender();
protected:
private:
//
// inherited functions from wxDataViewRenderer
//
- virtual bool Render();
+ virtual bool MacRender();
protected:
private:
//
// inherited functions from wxDataViewRenderer
//
- virtual bool Render();
+ virtual bool MacRender();
protected:
private:
//
// inherited functions from wxDataViewRenderer
//
- virtual bool Render();
+ virtual bool MacRender();
protected:
private:
{
return this->m_NativeDataPtr;
}
-
+
void SetNativeData(wxDataViewColumnNativeData* newNativeDataPtr); // class takes ownership of pointer
void SetWidthVariable(int NewWidth)
{
m_width = NewWidth;
}
+ void SetSortOrderVariable(bool NewOrder)
+ {
+ m_ascending = NewOrder;
+ }
private:
// common part of all ctors
virtual void DoSetExpanderColumn();
virtual void DoSetIndent();
+ virtual wxSize DoGetBestSize() const;
+
// event handling
void OnSize(wxSizeEvent &event);
+ void OnMouse(wxMouseEvent &event);
private:
// initializing of local variables: