Revision: 7268
          http://svn.sourceforge.net/mahogany/?rev=7268&view=rev
Author:   vadz
Date:     2007-05-05 15:52:00 -0700 (Sat, 05 May 2007)

Log Message:
-----------
fix after last change for wx 2.8

Modified Paths:
--------------
    trunk/M/src/gui/wxMenuDefs.cpp

Modified: trunk/M/src/gui/wxMenuDefs.cpp
===================================================================
--- trunk/M/src/gui/wxMenuDefs.cpp      2007-05-05 22:40:07 UTC (rev 7267)
+++ trunk/M/src/gui/wxMenuDefs.cpp      2007-05-05 22:52:00 UTC (rev 7268)
@@ -662,12 +662,13 @@
          const wxChar *p = wxStrchr(label, '&');
          if ( p == NULL ) {
             wxLogWarning(_T("Menu label '%s' doesn't have keyboard 
accelerator."),
-                         label);
+                         label.c_str());
          }
          else {
             char c = toupper(*++p);
             if ( strAccels.Find(c) != -1 ) {
-               wxLogWarning(_T("Duplicate accelerator %c (in '%s')"), c, 
label);
+               wxLogWarning(_T("Duplicate accelerator %c (in '%s')"),
+                            c, label.c_str());
             }
 
             strAccels += c;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to