Fix names of wxDirProperty ctor parameters

First two paramaters of ctors of wxPGProperty and its derivates are named
'label' and 'name' so wxDirProperty ctor should conform to this convention.

Close #18547.
This commit is contained in:
Artur Wieczorek
2019-10-29 23:34:37 +01:00
parent d6c6fe78bb
commit 9e4d28ba7f
3 changed files with 6 additions and 6 deletions

View File

@@ -1855,8 +1855,8 @@ bool wxFlagsProperty::DoSetAttribute( const wxString& name, wxVariant& value )
wxPG_IMPLEMENT_PROPERTY_CLASS(wxDirProperty, wxEditorDialogProperty, TextCtrlAndButton)
wxDirProperty::wxDirProperty( const wxString& name, const wxString& label, const wxString& value )
: wxEditorDialogProperty(name, label)
wxDirProperty::wxDirProperty( const wxString& label, const wxString& name, const wxString& value )
: wxEditorDialogProperty(label, name)
{
m_flags &= ~wxPG_PROP_ACTIVE_BTN; // Property button enabled only in not read-only mode.
SetValue(value);