@remarks You should call this for individual pages of
wxPropertyGridManager (if used).
+
+ @see GetColumnProportion()
*/
bool SetColumnProportion( unsigned int column, int proportion );
+ /**
+ Returns auto-resize proportion of the given column.
+
+ @see SetColumnProportion()
+ */
+ int GetColumnProportion( unsigned int column ) const
+ {
+ return m_pState->DoGetColumnProportion(column);
+ }
+
/** Sets an attribute for this property.
@param name
Text identifier of attribute. See @ref propgrid_property_attributes.
void DoSetColumnProportion( unsigned int column, int proportion );
+ int DoGetColumnProportion( unsigned int column ) const
+ {
+ return m_columnProportions[column];
+ }
+
wxPropertyCategory* GetPropertyCategory( const wxPGProperty* p ) const;
wxPGProperty* GetPropertyByLabel( const wxString& name,
*/
bool ExpandAll( bool expand = true );
+ /**
+ Returns auto-resize proportion of the given column.
+
+ @see SetColumnProportion()
+ */
+ int GetColumnProportion( unsigned int column ) const;
+
/**
Returns id of first child of given property.
@remarks You should call this for individual pages of
wxPropertyGridManager (if used).
+
+ @see GetColumnProportion()
*/
bool SetColumnProportion( unsigned int column, int proportion );