Add more missing classes and methods in propgrid interface

This commit is contained in:
Robin Dunn
2015-03-04 16:58:58 -08:00
parent b6c66f9c55
commit 05fa348b20
3 changed files with 473 additions and 95 deletions

View File

@@ -5,7 +5,41 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// -----------------------------------------------------------------------
/**
@class wxPGPropArgCls
Most property grid functions have this type as their argument, as it can
convey a property by either a pointer or name.
*/
class wxPGPropArgCls
{
public:
wxPGPropArgCls( const wxPGProperty* property );
wxPGPropArgCls( const wxString& str );
wxPGPropArgCls( const wxPGPropArgCls& id );
// This is only needed for wxPython bindings
wxPGPropArgCls( wxString* str, bool deallocPtr );
~wxPGPropArgCls();
wxPGProperty* GetPtr() const;
wxPGPropArgCls( const char* str );
wxPGPropArgCls( const wchar_t* str );
/** This constructor is required for NULL. */
wxPGPropArgCls( int );
wxPGProperty* GetPtr( wxPropertyGridInterface* iface ) const;
wxPGProperty* GetPtr( const wxPropertyGridInterface* iface ) const;
wxPGProperty* GetPtr0() const;
bool HasName() const;
const wxString& GetName() const;
};
typedef const wxPGPropArgCls& wxPGPropArg;
/**
@class wxPropertyGridInterface
@@ -24,7 +58,7 @@
@library{wxpropgrid}
@category{propgrid}
*/
class WXDLLIMPEXP_PROPGRID wxPropertyGridInterface
class wxPropertyGridInterface
{
public: