]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagxpm.cpp
add wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic...
[wxWidgets.git] / src / common / imagxpm.cpp
index 7d02ebe3724c7c7d9a85ecc54e1203964fc70052..5aa6dded4392573a8c0372f77b49e9c8d777c733 100644 (file)
@@ -129,9 +129,9 @@ bool wxXPMHandler::SaveFile(wxImage * image,
     }
 
     if ( !sName.empty() )
-        sName = wxString(wxT("/* XPM */\nstatic char *")) + sName;
+        sName = wxString(wxT("/* XPM */\nstatic const char *")) + sName;
     else
-        sName = wxT("/* XPM */\nstatic char *xpm_data");
+        sName = wxT("/* XPM */\nstatic const char *xpm_data");
     stream.Write( (const char*) sName.ToAscii(), sName.Len() );
 
     char tmpbuf[200];