Exposed wxPGCell to SWIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -162,6 +162,31 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
@class wxPGDefaultRenderer
|
||||||
|
|
||||||
|
Default cell renderer, that can handles the common
|
||||||
|
scenarios.
|
||||||
|
*/
|
||||||
|
class WXDLLIMPEXP_PROPGRID wxPGDefaultRenderer : public wxPGCellRenderer
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
virtual void Render( wxDC& dc,
|
||||||
|
const wxRect& rect,
|
||||||
|
const wxPropertyGrid* propertyGrid,
|
||||||
|
wxPGProperty* property,
|
||||||
|
int column,
|
||||||
|
int item,
|
||||||
|
int flags ) const;
|
||||||
|
|
||||||
|
virtual wxSize GetImageSize( const wxPGProperty* property,
|
||||||
|
int column,
|
||||||
|
int item ) const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
class WXDLLIMPEXP_PROPGRID wxPGCellData : public wxObjectRefData
|
class WXDLLIMPEXP_PROPGRID wxPGCellData : public wxObjectRefData
|
||||||
{
|
{
|
||||||
friend class wxPGCell;
|
friend class wxPGCell;
|
||||||
@@ -191,6 +216,8 @@ protected:
|
|||||||
bool m_hasValidText;
|
bool m_hasValidText;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif // !SWIG
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@class wxPGCell
|
@class wxPGCell
|
||||||
|
|
||||||
@@ -272,39 +299,17 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
virtual wxObjectRefData *CreateRefData() const
|
virtual wxObjectRefData *CreateRefData() const
|
||||||
{ return new wxPGCellData(); }
|
{ return new wxPGCellData(); }
|
||||||
|
|
||||||
virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
|
virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/** @class wxPGDefaultRenderer
|
|
||||||
|
|
||||||
Default cell renderer, that can handles the common
|
|
||||||
scenarios.
|
|
||||||
*/
|
|
||||||
class WXDLLIMPEXP_PROPGRID wxPGDefaultRenderer : public wxPGCellRenderer
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
virtual void Render( wxDC& dc,
|
|
||||||
const wxRect& rect,
|
|
||||||
const wxPropertyGrid* propertyGrid,
|
|
||||||
wxPGProperty* property,
|
|
||||||
int column,
|
|
||||||
int item,
|
|
||||||
int flags ) const;
|
|
||||||
|
|
||||||
virtual wxSize GetImageSize( const wxPGProperty* property,
|
|
||||||
int column,
|
|
||||||
int item ) const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
};
|
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifndef SWIG
|
||||||
|
|
||||||
/** @class wxPGAttributeStorage
|
/** @class wxPGAttributeStorage
|
||||||
|
|
||||||
wxPGAttributeStorage is somewhat optimized storage for
|
wxPGAttributeStorage is somewhat optimized storage for
|
||||||
|
Reference in New Issue
Block a user