X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/propgrid/manager.h diff --git a/interface/wx/propgrid/manager.h b/interface/wx/propgrid/manager.h index 066a2ace31..0391703b0f 100644 --- a/interface/wx/propgrid/manager.h +++ b/interface/wx/propgrid/manager.h @@ -147,7 +147,7 @@ public: 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 + constructor, and basically accepts same extra window style flags (albeit also has some extra ones). Here's some example code for creating and populating a wxPropertyGridManager: @@ -256,7 +256,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxPGMAN_DEFAULT_STYLE, - const wxChar* name = wxPropertyGridManagerNameStr ); + const wxString& name = wxPropertyGridManagerNameStr ); /** Enables or disables (shows/hides) categories according to parameter enable. @@ -340,11 +340,11 @@ public: /** Returns index to currently selected page. */ int GetSelectedPage() const; - /** Shortcut for GetGrid()->GetSelection(). */ + /** Alias for GetSelection(). */ wxPGProperty* GetSelectedProperty() const; - /** Synonyme for GetSelectedPage. */ - int GetSelection() const; + /** Shortcut for GetGrid()->GetSelection(). */ + wxPGProperty* GetSelection() const; /** Returns a pointer to the toolbar currently associated with the @@ -467,6 +467,11 @@ public: */ void SetSplitterLeft( bool subProps = false, bool allPages = true ); + /** Moves splitter as left as possible on an individual page, while still allowing all + labels to be shown in full. + */ + void SetPageSplitterLeft(int page, bool subProps = false); + /** Sets splitter position on individual page. @@ -490,9 +495,6 @@ public: */ void SetSplitterPosition( int pos, int column = 0 ); - /** Synonyme for SelectPage(name). */ - void SetStringSelection( const wxChar* name ); - /** Show or hide the property grid header control. It is hidden by the default.