diff --git a/include/wx/generic/gridctrl.h b/include/wx/generic/gridctrl.h index 71112fb94f..cbb8be7a5e 100644 --- a/include/wx/generic/gridctrl.h +++ b/include/wx/generic/gridctrl.h @@ -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) { } diff --git a/include/wx/generic/grideditors.h b/include/wx/generic/grideditors.h index 86979c1f41..e1f093ac84 100644 --- a/include/wx/generic/grideditors.h +++ b/include/wx/generic/grideditors.h @@ -311,7 +311,7 @@ public: // set the string values returned by GetValue() for the true and false // states, respectively static void UseStringValues(const wxString& valueTrue = wxT("1"), - const wxString& valueFalse = wxEmptyString); + const wxString& valueFalse = wxString()); // return true if the given string is equal to the string representation of // true value which we currently use @@ -402,7 +402,7 @@ protected: class WXDLLIMPEXP_ADV wxGridCellEnumEditor : public wxGridCellChoiceEditor { public: - wxGridCellEnumEditor( const wxString& choices = wxEmptyString ); + wxGridCellEnumEditor(const wxString& choices = wxString()); wxGridCellEnumEditor(const wxGridCellEnumEditor& other) : wxGridCellChoiceEditor(other),