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
|
||||
cb->Create(ctrlParent,
|
||||
wxID_ANY,
|
||||
wxString(),
|
||||
wxEmptyString,
|
||||
po,
|
||||
si,
|
||||
labels,
|
||||
|
@@ -1007,7 +1007,7 @@ wxString wxPGProperty::ValueToString( wxVariant& WXUNUSED(value),
|
||||
int argFlags ) const
|
||||
{
|
||||
wxCHECK_MSG( GetChildCount() > 0,
|
||||
wxString(),
|
||||
wxEmptyString,
|
||||
"If user property does not have any children, it must "
|
||||
"override GetValueAsString" );
|
||||
|
||||
|
Reference in New Issue
Block a user