Add missing ctors and dtor for wxPropertyGridManager
This commit is contained in:
@@ -106,7 +106,7 @@ public:
|
|||||||
virtual void Init();
|
virtual void Init();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Return @false here to indicate unhandled events should be
|
Return false here to indicate unhandled events should be
|
||||||
propagated to manager's parent, as normal.
|
propagated to manager's parent, as normal.
|
||||||
*/
|
*/
|
||||||
virtual bool IsHandlingAllEvents() const;
|
virtual bool IsHandlingAllEvents() const;
|
||||||
@@ -143,8 +143,8 @@ public:
|
|||||||
|
|
||||||
wxPropertyGridManager inherits from wxPropertyGridInterface, and as such
|
wxPropertyGridManager inherits from wxPropertyGridInterface, and as such
|
||||||
it has most property manipulation functions. However, only some of them affect
|
it has most property manipulation functions. However, only some of them affect
|
||||||
properties on all pages (e.g. GetPropertyByName() and ExpandAll()), while some
|
properties on all pages (eg. GetPropertyByName() and ExpandAll()), while some
|
||||||
(e.g. Append()) only apply to the currently selected page.
|
(eg. Append()) only apply to the currently selected page.
|
||||||
|
|
||||||
To operate explicitly on properties on specific page, use
|
To operate explicitly on properties on specific page, use
|
||||||
wxPropertyGridManager::GetPage() to obtain pointer to page's
|
wxPropertyGridManager::GetPage() to obtain pointer to page's
|
||||||
@@ -172,6 +172,8 @@ public:
|
|||||||
wxPG_TOOLBAR |
|
wxPG_TOOLBAR |
|
||||||
// Include description box.
|
// Include description box.
|
||||||
wxPG_DESCRIPTION |
|
wxPG_DESCRIPTION |
|
||||||
|
// Include compactor.
|
||||||
|
wxPG_COMPACTOR |
|
||||||
// Plus defaults.
|
// Plus defaults.
|
||||||
wxPGMAN_DEFAULT_STYLE
|
wxPGMAN_DEFAULT_STYLE
|
||||||
);
|
);
|
||||||
@@ -212,8 +214,16 @@ class wxPropertyGridManager : public wxPanel, public wxPropertyGridInterface
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
The default constructor. The styles to be used are styles valid for
|
Two step constructor.
|
||||||
the wxWindow.
|
Call Create when this constructor is called to build up the
|
||||||
|
wxPropertyGridManager.
|
||||||
|
*/
|
||||||
|
wxPropertyGridManager();
|
||||||
|
|
||||||
|
/**
|
||||||
|
The default constructor. The styles to be used are styles valid for
|
||||||
|
the wxWindow.
|
||||||
|
@see @link wndflags Additional Window Styles @endlink
|
||||||
*/
|
*/
|
||||||
wxPropertyGridManager( wxWindow *parent, wxWindowID id = wxID_ANY,
|
wxPropertyGridManager( wxWindow *parent, wxWindowID id = wxID_ANY,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
@@ -221,9 +231,7 @@ public:
|
|||||||
long style = wxPGMAN_DEFAULT_STYLE,
|
long style = wxPGMAN_DEFAULT_STYLE,
|
||||||
const wxString& name = wxPropertyGridManagerNameStr );
|
const wxString& name = wxPropertyGridManagerNameStr );
|
||||||
|
|
||||||
/**
|
/** Destructor */
|
||||||
Destructor.
|
|
||||||
*/
|
|
||||||
virtual ~wxPropertyGridManager();
|
virtual ~wxPropertyGridManager();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -285,7 +293,7 @@ public:
|
|||||||
Enables or disables (shows/hides) categories according to parameter enable.
|
Enables or disables (shows/hides) categories according to parameter enable.
|
||||||
|
|
||||||
@remarks
|
@remarks
|
||||||
Calling this may not properly update toolbar buttons.
|
Calling his may not properly update toolbar buttons.
|
||||||
*/
|
*/
|
||||||
bool EnableCategories( bool enable );
|
bool EnableCategories( bool enable );
|
||||||
|
|
||||||
@@ -317,7 +325,7 @@ public:
|
|||||||
wxPropertyGrid* GetGrid();
|
wxPropertyGrid* GetGrid();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Similar to GetIterator(), but instead returns wxPGVIterator instance,
|
Similar to GetIterator, but instead returns wxPGVIterator instance,
|
||||||
which can be useful for forward-iterating through arbitrary property
|
which can be useful for forward-iterating through arbitrary property
|
||||||
containers.
|
containers.
|
||||||
*/
|
*/
|
||||||
@@ -397,7 +405,7 @@ public:
|
|||||||
|
|
||||||
@param pageObj
|
@param pageObj
|
||||||
wxPropertyGridPage instance. Manager will take ownership of this
|
wxPropertyGridPage instance. Manager will take ownership of this
|
||||||
object. If @NULL, default page object is constructed.
|
object. If NULL, default page object is constructed.
|
||||||
|
|
||||||
@return Returns pointer to created page.
|
@return Returns pointer to created page.
|
||||||
*/
|
*/
|
||||||
@@ -437,7 +445,7 @@ public:
|
|||||||
Select and displays a given page.
|
Select and displays a given page.
|
||||||
|
|
||||||
@param index
|
@param index
|
||||||
Index of page being selected. Can be -1 to select nothing.
|
Index of page being seleced. Can be -1 to select nothing.
|
||||||
*/
|
*/
|
||||||
void SelectPage( int index );
|
void SelectPage( int index );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user