Add wxSpinCtrl::GetTextValue()

This allows to retrieve the current contents of the text entry part of
wxSpinCtrl.

For now provide a stub in the base class, will be made pure virtual
later.

Co-Authored-By: Vadim Zeitlin <vadim@wxwidgets.org>
This commit is contained in:
Dummy
2021-04-18 01:27:37 +01:00
committed by Vadim Zeitlin
parent c6d6ec9295
commit b6f8a8cf5b
8 changed files with 35 additions and 0 deletions

View File

@@ -133,6 +133,13 @@ public:
*/
int GetMin() const;
/**
Returns the text in the text entry part of the control.
@since 3.1.6
*/
wxString GetTextValue() const;
/**
Gets the value of the spin control.
*/
@@ -315,6 +322,13 @@ public:
*/
double GetMin() const;
/**
Returns the text in the text entry part of the control.
@since 3.1.6
*/
wxString GetTextValue() const;
/**
Gets the value of the spin control.
*/