Added the code to my app and solved this issue. It is a pity this is not (yet) integrated into the wxZip... objects.
Thanks
Search found 488 matches
- Wed Apr 02, 2014 4:38 pm
- Forum: C++ Development
- Topic: wxZipOutputStream & accented characters
- Replies: 2
- Views: 1048
- Wed Apr 02, 2014 10:12 am
- Forum: C++ Development
- Topic: wxZipOutputStream & accented characters
- Replies: 2
- Views: 1048
wxZipOutputStream & accented characters
When files with filenames containing accented characters are archived with wxZipOutputStream, the zip file is OK, and when inspected by a hex editor the accented characters look as expected. They are coded 'ea' for 'ê' and 'e9' for 'é'. However, when unzipped by 7-zip, these characters are displayed...
- Sun Mar 30, 2014 7:50 am
- Forum: C++ Development
- Topic: wxzliboutputstream with more than one file
- Replies: 9
- Views: 2394
Re: wxzliboutputstream with more than one file
That works. Thanks.
- Sat Mar 29, 2014 3:30 pm
- Forum: C++ Development
- Topic: wxzliboutputstream with more than one file
- Replies: 9
- Views: 2394
Re: wxzliboutputstream with more than one file
No difference. The following data is from an Intel machine under Windows 8.1 The zip file produced by the code above is not empty: it is 19 977 455 bytes long The header of the first picture is: 50 4b 03 04 14 00 00 00 08 00 27 87 7d 44 bb 8a c2 57 ec 11 80 00 db b8 8e 00 1c 00 00 The file name is 2...
- Sat Mar 29, 2014 2:28 pm
- Forum: C++ Development
- Topic: wxzliboutputstream with more than one file
- Replies: 9
- Views: 2394
Re: wxzliboutputstream with more than one file
lb_Files contains filenames with ".jpg" extensions. The following code creates a zip file which the file manager reports a size which is roughly the sum of the sizes of all the jpg files. However, when trying to unzip the zip file, it reports archive empty, 0 entries. What am I missing? wx...
- Fri Mar 28, 2014 7:42 pm
- Forum: C++ Development
- Topic: wxzliboutputstream with more than one file
- Replies: 9
- Views: 2394
Re: wxzliboutputstream with more than one file
Thanks for the tips.
What kind of outputstream is fit for jpg files?
What kind of outputstream is fit for jpg files?
- Fri Mar 28, 2014 4:40 pm
- Forum: C++ Development
- Topic: wxzliboutputstream with more than one file
- Replies: 9
- Views: 2394
wxzliboutputstream with more than one file
I have a number of files which I would like to upload as a single zip file to an FTP website. I would like to avoid the use of a stand alone zip package to create the single zip file of all the files to upload. I currently manage to upload files individually using wxFtp, but that is not really satis...
- Fri Mar 14, 2014 12:14 pm
- Forum: C++ Development
- Topic: wxTreeCtrl selection error
- Replies: 8
- Views: 2213
Re: wxTreeCtrl selection error
Found the problem: when a tree is displayed, a first event is generated selecting the root. This happens in both trees, but generates (through the logic of the application) an error further down when the second tree is concerned. I simply ignore that first event, and from then on the selection is wh...
- Thu Mar 13, 2014 9:26 pm
- Forum: C++ Development
- Topic: wxTreeCtrl selection error
- Replies: 8
- Views: 2213
Re: wxTreeCtrl selection error
Inserted statements in both handlers. No errors detected. BTW, the last wxCHECK_RET statement does not accept GetId(). If this may help, I am enclosing GenerateTree(). I checked that during generation, the ItemIds generated for each of the two trees are different both for roots and for branches. But...
- Thu Mar 13, 2014 2:28 pm
- Forum: C++ Development
- Topic: wxTreeCtrl selection error
- Replies: 8
- Views: 2213
Re: wxTreeCtrl selection error
The selection on the first tree wroks perfectly. On the second tree, when I click on a grandchild, the selection return the root (and item IdOK() returns true) instead of the geandchild. The events are processed in the respective handlers. As for adding items to the wrong tree, all I can say right n...
- Thu Mar 13, 2014 1:25 pm
- Forum: C++ Development
- Topic: wxTreeCtrl selection error
- Replies: 8
- Views: 2213
Re: wxTreeCtrl selection error
The trees are created (using DialogBlocks) with the following code. Each tree has its own window ID value. The second tree is initially hidden: tree_Categories = new wxTreeCtrl( itemDialog1, ID_TREECTRLCategoriesCat, wxDefaultPosition, wxSize(300, 200), wxTR_HAS_BUTTONS |wxTR_SINGLE ); tree_Categori...
- Thu Mar 13, 2014 11:19 am
- Forum: C++ Development
- Topic: wxTreeCtrl selection error
- Replies: 8
- Views: 2213
wxTreeCtrl selection error
With two identicel tree controls in a dialog, problem of selection: Selection in the first tree gives the expected item. However, the selection in the second tree gives an erroneous item, even if the first tree is Unselected first. In fact, whatever item is selected, the returned item is the root of...
- Tue Feb 11, 2014 9:47 pm
- Forum: C++ Development
- Topic: wxFont & svn 75874
- Replies: 2
- Views: 1733
Re: wxFont & svn 75874
Thanks, the answer is clear.
- Tue Feb 11, 2014 3:28 pm
- Forum: C++ Development
- Topic: wxFont & svn 75874
- Replies: 2
- Views: 1733
wxFont & svn 75874
Compiling existing code (under Windows) against svn, I am getting warnings which were not produced under 3.0.0 and which I do not understand: int fontSize = 12; // can be different depending on context label_test->SetFont(wxFont(fontSize, wxSWISS, wxNORMAL, wxBOLD, false, wxT("Tahoma"))); ...
- Mon Feb 03, 2014 4:56 pm
- Forum: Compiler / Linking / IDE Related
- Topic: 3.0.0 ANSI build for GTK fails
- Replies: 2
- Views: 1139
Re: 3.0.0 ANSI build for GTK fails
ANSI for encryption/decryption which is sensitive to word size; this worked with earlier versions of wxWidgets, I am simply upgrading to 3.0.0
The link for gstreamer is exactly what was needed
Thanks,
Raanan
The link for gstreamer is exactly what was needed
Thanks,
Raanan