Search found 34 matches

by hgiritzer
Sun Oct 01, 2006 11:13 am
Forum: C++ Development
Topic: i18n: _() or wxGetTranslation thread-safe?
Replies: 2
Views: 633

Thank you for the response, I have just identified an elderly helper function of myself to be the cause of my problems.

A Critical Section resolved this in no time... :-)
by hgiritzer
Thu Sep 28, 2006 9:50 am
Forum: C++ Development
Topic: i18n: _() or wxGetTranslation thread-safe?
Replies: 2
Views: 633

i18n: _() or wxGetTranslation thread-safe?

Hi, is it safe to use that handy auto-translating string macro _() from within worker threads? Can there be a problem when two threads need a translation at the same time? I'm currently investigating a sporadic crash of an app which makes heavy use of worker threads and so I'm looking for non-thread...
by hgiritzer
Mon Aug 14, 2006 11:13 am
Forum: General Development
Topic: Monolithic vs. Multi-Lib & Static vs Dynamic.
Replies: 4
Views: 2546

I also use the multilib static approach, as I want to link just the neccessary libs and get one executable, which needs as few (system) dlls as possible. Most of my apps run without a setup routine and don't pollute someones machine with tons of files or registry entries (speaking of windows, obviou...
by hgiritzer
Fri Jul 21, 2006 8:53 am
Forum: C++ Development
Topic: drag & drop in wxListBox or wxListCtrl
Replies: 3
Views: 945

Is this still true in 2006 in wxWidgets 2.6.3 ???

I can't find something like EVT_LIST_END_DRAG either!
by hgiritzer
Thu May 11, 2006 7:25 am
Forum: General Development
Topic: wxHtmlEasyPrinting - insert page breaks?
Replies: 4
Views: 1118

Good news! See: src/html/m_layout.cpp: //----------------------------------------------------------------------------- // wxHtmlPageBreakCell //----------------------------------------------------------------------------- // Since html isn't a page-layout language, it doesn't support page // page br...
by hgiritzer
Thu May 11, 2006 7:03 am
Forum: General Development
Topic: wxHtmlEasyPrinting - insert page breaks?
Replies: 4
Views: 1118

You are right, defining page breaks in HTML is not supported. But what about a possibility to call a wxHtmlEasyPrinting function (or whatever) two or more times with different HTML contents, where each call starts a new page in a combined print job? So, you would get just one print preview dialog or...
by hgiritzer
Thu May 11, 2006 6:28 am
Forum: General Development
Topic: wxHtmlEasyPrinting - insert page breaks?
Replies: 4
Views: 1118

wxHtmlEasyPrinting - insert page breaks?

I'm using wxHtmlEasyPrinting so far and would like to insert page breaks in a print job.

Does anybody know how I can do a HTML printing with the possibility to force page breaks anywhere in between the print job?
by hgiritzer
Mon Apr 24, 2006 11:28 am
Forum: General Development
Topic: User management classes
Replies: 7
Views: 1145

@Priyank: Thank you for the link to MSDN documentation (User Management through Windows Network API). As I want my application to run on Win98 and higher, I can't use the integrated Windows User Management, which was introduced in Windows NT. Furthermore, I need to store credentials of the user acco...
by hgiritzer
Tue Mar 21, 2006 8:41 am
Forum: Platform Related Issues
Topic: i18n problem on MSW - printf parameter order
Replies: 2
Views: 548

i18n problem on MSW - printf parameter order

Hi, the gettext documentation recommends a way to ensure that printf parameter ordering remains intact during translation: http://www.gnu.org/software/gettext/manual/html_mono/gettext.html (see section 3.5 Special Comments preceding Keywords). Following this recommendation, it works perfectly in Lin...
by hgiritzer
Tue Mar 14, 2006 8:49 am
Forum: General Development
Topic: User management classes
Replies: 7
Views: 1145

How do you handle user management in your application?

For sure, some of you had to face a similar problem with their own application; to integrate a (simple) means of user authentification and maybe to handle restrictions like disabling menu items for standard users.
by hgiritzer
Tue Mar 14, 2006 8:10 am
Forum: C++ Development
Topic: How to create two rows of columns labels in wxGrid?
Replies: 8
Views: 2060

I have taken a quick look onto it: http://wxcode.sourceforge.net/showcomp.php?name=wxSheet The package can be downloaded here: https://sourceforge.net/project/showfiles.php?group_id=51305&package_id=45182&release_id=343619 In short: wxSheet has similar functions like wxGrid, but it is not backwards ...
by hgiritzer
Mon Mar 13, 2006 3:32 pm
Forum: C++ Development
Topic: Internationalization and XRC
Replies: 1
Views: 685

The following works for me: 1) Compile the utility wxrc (wxwidgets directory, utils/wxrc) 2) Call wxrc to convert your xrc file into a cpp file: wxrc my.xrc -g -c -o my_xrc.cpp You might want to do this in an "after compile" step automatically. You don't have to include this cpp file into your proje...
by hgiritzer
Mon Mar 13, 2006 3:09 pm
Forum: C++ Development
Topic: Unicode xgettext problems with _() over several code lines
Replies: 17
Views: 3556

Well, it seems to me that it is the best practice to write the whole sentence into a single long line of code.

The code might become a bit harder to read, but as we can see in this discussion there is no 100% working alternative for this.
by hgiritzer
Mon Mar 13, 2006 7:03 am
Forum: C++ Development
Topic: Unicode xgettext problems with _() over several code lines
Replies: 17
Views: 3556

Thank you for your efforts.
Please keep in mind, that we need a solution for Unicode build in combination with xgettext translation (poEdit).

It's easy to use only one of them, but problematic when using both together.
by hgiritzer
Sun Mar 12, 2006 9:50 am
Forum: C++ Development
Topic: How to create two rows of columns labels in wxGrid?
Replies: 8
Views: 2060

Yes, there are functions for merging cells. But they are only useful on data cells, not on the column (or row) headers. I don't know any currently available method of adding a second row of column headers or forcing some of the first data rows to stay on top (visible), which would for some applicati...