Adam H. Pendleton wrote:
> Well pgAdmin3 on Panther runs and then suddenly exits, but it's not a
> crash. It's a clean exit when the program encouters a problem, but
> there is no "sane" error handler for the problem. The code in
> question is:
>
> pgAdmin3.cpp:329
>
> int count = wxDir::GetAllFiles(uiPath+COMMON_DIR, &files,
> wxT("*.xrc"), wxDIR_FILES);
> if (!count)
> return false;
Are the *.xrc files present there?
For testing purposes, you could change that #ifdef embracint that part
of code, to use embedded xrc dialogs instead of loading them from file.
Since usually xrc dialogs are piggy-backed on the executable, I didn't
bother about debug code here.
Regards,
Andreas