Embedded xrc dialogs

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Embedded xrc dialogs
Date: 2003-07-17 19:39:08
Message-ID: 3F16FB5C.7010407@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

I just committed a change to cvs, enabling to load the xrc resources
from binary instead of file. When defining EMBED_XRC, the dialogs
generated in ui/common/xrcDialogs.cpp are used, and the ui/common
directory isn't needed for execution any more. Currently, the macro is
defined for Release versions in win32, and undefined in Debug versions.
We could do the same for Linux.

To compile the xrc sources into the xrcDialogs.cpp, the script
ui/common/embed-xrc is used.

Unfortunately, I didn't succeed in making the xrcDialogs.cpp under msdev
automatically, dependent on ui/common/*.xrc; should be no problem in
Makefile though (if wxrc is present, this should be checked in configure).

Under Win32, I used an enhanced version of wxrc which is able to
evaluate wildcard filenames. The current version will not do this, but a
patch is already posted to wxWindows.

Regards,
Andreas

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2003-07-18 04:16:28 Re: Embedded xrc dialogs
Previous Message Andreas Pflug 2003-07-17 19:31:47 Re: Properties dialogue/pane