Added wxPropertyGridInterface::SetColumnProportion(); wxPG_SPLITTER_AUTO_CENTER window style now supports column counts higher than two.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2010-02-14 14:09:06 +00:00
parent a7b9865d30
commit fe01f16e53
8 changed files with 138 additions and 34 deletions

View File

@@ -678,6 +678,18 @@ public:
static void SetBoolChoices( const wxString& trueChoice,
const wxString& falseChoice );
/**
Set proportion of a auto-stretchable column. wxPG_SPLITTER_AUTO_CENTER
window style needs to be used to indicate that columns are auto-
resizeable.
@returns Returns @false on failure.
@remarks You should call this for individual pages of
wxPropertyGridManager (if used).
*/
bool SetColumnProportion( unsigned int column, int proportion );
/**
Sets an attribute for this property.