Use wxEmptyString instead of wxString().
To keep uniform notation of empty strings.
This commit is contained in:
@@ -1042,7 +1042,7 @@ wxWindow* wxPGChoiceEditor::CreateControlsBase( wxPropertyGrid* propGrid,
|
|||||||
#endif
|
#endif
|
||||||
cb->Create(ctrlParent,
|
cb->Create(ctrlParent,
|
||||||
wxID_ANY,
|
wxID_ANY,
|
||||||
wxString(),
|
wxEmptyString,
|
||||||
po,
|
po,
|
||||||
si,
|
si,
|
||||||
labels,
|
labels,
|
||||||
|
@@ -1007,7 +1007,7 @@ wxString wxPGProperty::ValueToString( wxVariant& WXUNUSED(value),
|
|||||||
int argFlags ) const
|
int argFlags ) const
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( GetChildCount() > 0,
|
wxCHECK_MSG( GetChildCount() > 0,
|
||||||
wxString(),
|
wxEmptyString,
|
||||||
"If user property does not have any children, it must "
|
"If user property does not have any children, it must "
|
||||||
"override GetValueAsString" );
|
"override GetValueAsString" );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user