Hi Erdem,
Death Knight wrote:I think I needed to write "fixed" since wxYield() already fix the problem. Quick update calls after unhide command makes wxGauge couldn't shown at required position. wxYield() works as a "flush", stops program until wxGauge really shown, that fixes problem. So we don't have such problem anymore 8-)
This is a good news except this is not my own bug. Mine happens when the gauge should be hidden (it is kept displayed)
Death Knight wrote:Revisioning handled via addition with _ like wxpic-1.2.1_r186-1.x86_64.rpm
This seems really perfect.
Death Knight wrote:But wx doesn't show any version number in linux just svn number. I think compiled programs needed to have version number in title or about dialog ... About dialog is also empty...
I suppose that a reason why the About dialog is almost empty is that the files Author.txt and License.txt have been moved in doc directory in the branch. WxPic is looking in .Lang[/<lang>]/ to find those files and display their content in the About dialog. The Windows version is probably broken too, as well as the Windows installing script that use them for several purposes.
I have chosen to group in a single directory all the WxPic files that require translation. In fact there is another directory that requires translation: the Help directory. But I felt that the help needs to be separated (they are read by the browser and not the program and it makes sense to make it possible to export easily the help as a whole).
But I don't see why the license/Author files and the .po/.mo files would need to be separated. Even at the beginning the license and Author texts were included in the .po/.mo. But that was difficult to maintain and impossible to include in the installer. That's why I extracted those strings from .po/.mo but it seems natural to keep these files together.
I think that the reason why your About dialog has no version number is because your version has no number yet and/or you don't have the version number auto-generation script. Once I am ready with a version that all tests are made, I branch the Trunk in the Tags to create the Version Label. Then I export this label content from SVN in a new empty directory. I run all the generation procedures in the new directory so at the end I get the versioned executable fully generated from SVN. My version auto-generation scripts (I posted them here some weeks ago) recognize that the compiled files match exactly a tagged version so they allocate the version number to the executable. In any other case the procedure won't give the version number to the executable.
By the way, while we are talking about Author.txt file, you can add yourself in the English one ;-)
I will add then the translation in the French one.
Death Knight wrote:I think you could use wxAboutDialog class to make good looking about dialog. That dialog includes license tab, program name and icon, credits for developers and translators sections...
I remember to have looked at it and to have discarded it because it did not fit my needs. I am not sure what was the issue. Either it was difficult to use my auto-generated version number in it, or to include the text files or some other reason...
Philippe