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
|
class WXDLLIMPEXP_ADV wxGridCellChoiceRenderer : public wxGridCellStringRenderer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxGridCellChoiceRenderer( const wxString& choices = wxEmptyString );
|
wxGridCellChoiceRenderer(const wxString& choices = wxString());
|
||||||
|
|
||||||
wxGridCellChoiceRenderer(const wxGridCellChoiceRenderer& other);
|
wxGridCellChoiceRenderer(const wxGridCellChoiceRenderer& other);
|
||||||
|
|
||||||
@@ -309,7 +309,7 @@ protected:
|
|||||||
class WXDLLIMPEXP_ADV wxGridCellEnumRenderer : public wxGridCellChoiceRenderer
|
class WXDLLIMPEXP_ADV wxGridCellEnumRenderer : public wxGridCellChoiceRenderer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxGridCellEnumRenderer( const wxString& choices = wxEmptyString )
|
wxGridCellEnumRenderer(const wxString& choices = wxString())
|
||||||
: wxGridCellChoiceRenderer(choices)
|
: wxGridCellChoiceRenderer(choices)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -311,7 +311,7 @@ public:
|
|||||||
// set the string values returned by GetValue() for the true and false
|
// set the string values returned by GetValue() for the true and false
|
||||||
// states, respectively
|
// states, respectively
|
||||||
static void UseStringValues(const wxString& valueTrue = wxT("1"),
|
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
|
// return true if the given string is equal to the string representation of
|
||||||
// true value which we currently use
|
// true value which we currently use
|
||||||
@@ -402,7 +402,7 @@ protected:
|
|||||||
class WXDLLIMPEXP_ADV wxGridCellEnumEditor : public wxGridCellChoiceEditor
|
class WXDLLIMPEXP_ADV wxGridCellEnumEditor : public wxGridCellChoiceEditor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxGridCellEnumEditor( const wxString& choices = wxEmptyString );
|
wxGridCellEnumEditor(const wxString& choices = wxString());
|
||||||
|
|
||||||
wxGridCellEnumEditor(const wxGridCellEnumEditor& other)
|
wxGridCellEnumEditor(const wxGridCellEnumEditor& other)
|
||||||
: wxGridCellChoiceEditor(other),
|
: wxGridCellChoiceEditor(other),
|
||||||
|
|||||||
Reference in New Issue
Block a user