Improved success for the linux build; OPJViewer shows all the COM contents
[openjpeg.git] / OPJViewer / source / imagj2k.h
index 9b6f63a91b41e511c0e282ce494cf1db0937a136..be1c913927b72526c04be92a0b7f4f208d905363 100644 (file)
@@ -108,9 +108,9 @@ public:
 #endif\r
 \r
 #ifdef USE_JPWL\r
-               m_comment += wxString::Format("%s with JPWL", opj_version());\r
+               m_comment += wxString::Format(wxT("%s with JPWL"), (char *) opj_version());\r
 #else\r
-               m_comment += wxString::Format("%s", opj_version());\r
+               m_comment += wxString::Format(wxT("%s"), (char *) opj_version());\r
 #endif\r
 \r
     }\r
@@ -145,6 +145,8 @@ public:
        bool m_enablecomm;\r
        wxString m_comment;\r
 \r
+       bool write_index_file(opj_codestream_info_t *cstr_info, char *index);\r
+\r
 #if wxUSE_STREAMS\r
     virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 );\r
     virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true );\r