X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57ab6f2314860f6efd2d1339913c91a302020a8e..38534f596974042130716a26276e9564b0b72295:/interface/wx/propgrid/manager.h diff --git a/interface/wx/propgrid/manager.h b/interface/wx/propgrid/manager.h index 32e468cac3..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. @@ -510,8 +512,8 @@ protected: /** Creates property grid for the manager. Reimplement in derived class to - use subclassed wxPropertyGrid. However, if you do this then you - must also use the two-step construction (i.e. default constructor and + use subclassed wxPropertyGrid. However, if you do this then you + must also use the two-step construction (ie. default constructor and Create() instead of constructor with arguments) when creating the manager. */