Added wxPropertyGrid::SetUnspecifiedValueAppearance(); Added wxPGEditor::SetControlAppearance() for applying wxPGCell attributes on a property editor.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-12-22 16:12:02 +00:00
parent 69bc65e3f8
commit 3e6d8c3118
8 changed files with 321 additions and 60 deletions

View File

@@ -740,6 +740,13 @@ public:
*/
wxTextCtrl* GetEditorTextCtrl() const;
/**
Returns current appearance of unspecified value cells.
@see SetUnspecifiedValueAppearance()
*/
const wxPGCell& GetUnspecifiedValueAppearance() const;
/**
Returns (visual) text representation of the unspecified
property value.
@@ -981,6 +988,19 @@ public:
*/
void SetSplitterLeft( bool privateChildrenToo = false );
/**
Sets appearance of value cells representing an unspecified property
value. Default appearance is blank.
@remarks If you set the unspecified value to have any
textual representation, then that will override
"InlineHelp" attribute.
@see wxPGProperty::SetValueToUnspecified(),
wxPGProperty::IsValueUnspecified()
*/
void SetUnspecifiedValueAppearance( const wxPGCell& cell );
/**
Sets vertical spacing. Can be 1, 2, or 3 - a value relative to font
height. Value of 2 should be default on most platforms.