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:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user