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:
Jaakko Salli
2009-10-17 12:28:34 +00:00
parent 0599fe19d9
commit b4a72504ad

View File

@@ -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
{
friend class wxPGCell;
@@ -191,6 +216,8 @@ protected:
bool m_hasValidText;
};
#endif // !SWIG
/**
@class wxPGCell
@@ -272,39 +299,17 @@ public:
return *this;
}
protected:
private:
virtual wxObjectRefData *CreateRefData() const
{ return new wxPGCellData(); }
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
wxPGAttributeStorage is somewhat optimized storage for