Added wxComboCtrl::SetHint(), GetHint()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-12-26 10:33:35 +00:00
parent 1665389a9a
commit 107defe36a
4 changed files with 68 additions and 1 deletions

View File

@@ -448,6 +448,15 @@ public:
*/
static int GetFeatures();
/**
Returns the current hint string.
See SetHint() for more information about hints.
@since 2.9.1
*/
virtual wxString GetHint() const;
/**
Returns the insertion point for the combo control's text field.
@@ -620,6 +629,18 @@ public:
*/
void SetCustomPaintWidth(int width);
/**
Sets a hint shown in an empty unfocused combo control.
Notice that hints are known as <em>cue banners</em> under MSW or
<em>placeholder strings</em> under OS X.
@see wxTextEntry::SetHint()
@since 2.9.1
*/
virtual void SetHint(const wxString& hint);
/**
Sets the insertion point in the text field.