+ which can optionally have toolbar for mode and page selection, and a help text
+ box.
+
+ wxPropertyGridManager inherits from wxPropertyGridInterface, and as such
+ it has most property manipulation functions. However, only some of them affect
+ properties on all pages (eg. GetPropertyByName() and ExpandAll()), while some
+ (eg. Append()) only apply to the currently selected page.
+
+ To operate explicitly on properties on specific page, use
+ wxPropertyGridManager::GetPage() to obtain pointer to page's
+ wxPropertyGridPage object.
+
+ Visual methods, such as SetCellBackgroundColour() are only available in
+ wxPropertyGrid. Use wxPropertyGridManager::GetGrid() to obtain pointer to it.
+
+ Non-virtual iterators will not work in wxPropertyGridManager. Instead, you must
+ acquire the internal grid (GetGrid()) or wxPropertyGridPage object (GetPage()).
+
+ wxPropertyGridManager constructor has exact same format as wxPropertyGrid
+ constructor, and basicly accepts same extra window style flags (albeit also
+ has some extra ones).
+
+ Here's some example code for creating and populating a wxPropertyGridManager:
+
+ @code
+ wxPropertyGridManager* pgMan = new wxPropertyGridManager(this, PGID,
+ wxDefaultPosition, wxDefaultSize,
+ // These and other similar styles are automatically
+ // passed to the embedded wxPropertyGrid.
+ wxPG_BOLD_MODIFIED|wxPG_SPLITTER_AUTO_CENTER|
+ // Include toolbar.
+ wxPG_TOOLBAR |
+ // Include description box.
+ wxPG_DESCRIPTION |
+ // Include compactor.
+ wxPG_COMPACTOR |
+ // Plus defaults.
+ wxPGMAN_DEFAULT_STYLE
+ );
+
+ wxPropertyGridPage* page;
+
+ page = pgMan->AddPage("First Page");
+
+ page->Append( new wxPropertyCategory("Category A1") );
+
+ page->Append( new wxIntProperty("Number",wxPG_LABEL,1) );
+
+ page->Append( new wxColourProperty("Colour",wxPG_LABEL,*wxWHITE) );
+
+ page = pgMan->AddPage("Second Page");
+
+ page->Append( "Text",wxPG_LABEL,"(no text)" );
+
+ page->Append( new wxFontProperty("Font",wxPG_LABEL) );
+ @endcode