Allow setting custom tooltip text for "New" button in wxPGArrayEditorDialog

Ability to change the tooltip can be useful if standard text "New item" is not descriptive enough.
This commit is contained in:
Artur Wieczorek
2018-12-22 12:30:05 +01:00
parent 686380c331
commit 0fbc4cd6ab
4 changed files with 25 additions and 3 deletions

View File

@@ -726,7 +726,11 @@ public:
const wxSize& sz = wxDefaultSize );
void EnableCustomNewAction();
/** Sets tooltip text for button allowing the user to enter new string.
*/
void SetNewButtonText(const wxString& text);
/** Set value modified by dialog.
*/
virtual void SetDialogValue( const wxVariant& value );