Use wxString() rather than wxEmptyString in wxGrid classes

No real changes, just use default ctor for the default value of some
parameters.
This commit is contained in:
Vadim Zeitlin
2022-04-28 00:30:15 +02:00
parent f646e8b11c
commit 5db2244bc8
2 changed files with 4 additions and 4 deletions

View File

@@ -283,7 +283,7 @@ protected:
class WXDLLIMPEXP_ADV wxGridCellChoiceRenderer : public wxGridCellStringRenderer
{
public:
wxGridCellChoiceRenderer( const wxString& choices = wxEmptyString );
wxGridCellChoiceRenderer(const wxString& choices = wxString());
wxGridCellChoiceRenderer(const wxGridCellChoiceRenderer& other);
@@ -309,7 +309,7 @@ protected:
class WXDLLIMPEXP_ADV wxGridCellEnumRenderer : public wxGridCellChoiceRenderer
{
public:
wxGridCellEnumRenderer( const wxString& choices = wxEmptyString )
wxGridCellEnumRenderer(const wxString& choices = wxString())
: wxGridCellChoiceRenderer(choices)
{
}