[Greater-commits] r206 - trunk/Administration
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jun 15 12:08:44 CEST 2011
Author: aheinecke
Date: 2011-06-15 12:08:43 +0200 (Wed, 15 Jun 2011)
New Revision: 206
Modified:
trunk/Administration/MessageDialog.cpp
Log:
Use correct conversion from ascii to get message types.
Format showed a broken message
Modified: trunk/Administration/MessageDialog.cpp
===================================================================
--- trunk/Administration/MessageDialog.cpp 2011-06-15 09:50:38 UTC (rev 205)
+++ trunk/Administration/MessageDialog.cpp 2011-06-15 10:08:43 UTC (rev 206)
@@ -313,7 +313,7 @@
while (v_curr_elem_ptr != NULL)
{
//Get message type
- type = type.Format(wxT("%s"), v_curr_elem_ptr->type);
+ type = wxString::FromAscii(v_curr_elem_ptr->type);
//Add values only distinct
if (choiceType->FindString(type) == -1)
More information about the Greater-commits
mailing list