Use wxS macro with string literals.

To make string literals notation consistent.
This commit is contained in:
Artur Wieczorek
2015-06-12 23:39:00 +02:00
parent 4d4ece53f1
commit 8e2f1b47aa
6 changed files with 48 additions and 48 deletions

View File

@@ -1206,7 +1206,7 @@ void wxPropertyGridPageState::DoSetColumnProportion( unsigned int column,
int proportion )
{
wxASSERT_MSG( proportion >= 1,
"Column proportion must 1 or higher" );
wxS("Column proportion must 1 or higher") );
if ( proportion < 1 )
proportion = 1;
@@ -1684,7 +1684,7 @@ bool wxPropertyGridPageState::PrepareToAddItem( wxPGProperty* property,
if ( scheduledParent && !scheduledParent->IsCategory() )
{
wxASSERT_MSG( !property->GetBaseName().empty(),
"Property's children must have unique, non-empty names within their scope" );
wxS("Property's children must have unique, non-empty names within their scope") );
}
property->m_parentState = this;
@@ -1720,7 +1720,7 @@ bool wxPropertyGridPageState::PrepareToAddItem( wxPGProperty* property,
(!scheduledParent || scheduledParent->IsCategory()) )
{
wxFAIL_MSG(wxString::Format(
"wxPropertyGrid item with name \"%s\" already exists",
wxS("wxPropertyGrid item with name \"%s\" already exists"),
property->GetName()));
wxPGGlobalVars->m_warnings++;