Re: compile problem - Mailing list pgadmin-hackers

From Tim Stahlhut
Subject Re: compile problem
Date
Msg-id 000601c76578$8ba0ca80$adf7123f@timstahlhut
Whole thread Raw
In response to Re: compile problem  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
List pgadmin-hackers
Yes, wxWidgets-2.8 has WXWIN_COMPATIBILITY_2_6=1 this is set in setup.h for
windows users and passed as an option for Linux Users when building
wxWidgets. If, you no longer support your application under wxWidgets 2.6 or
below I would just rename them all they are listed in wx/filedlg.h. If you
still support 2.6 I would set WXWIN_COMPATIBILITY_2_6=1 in setup.h till you
get the other errors fixed first compiling against 2.9 (cvs-head)

Tim S

-----Original Message-----
From: Hiroshi Saito [mailto:z-saito@guitar.ocn.ne.jp]
Sent: Tuesday, March 13, 2007 9:57 AM
To: Dave Page; Tim Stahlhut
Cc: pgadmin-hackers@postgresql.org
Subject: Re: [pgadmin-hackers] compile problem

Hi Dave.

From: "Dave Page"
>
> Sorry, I was sleeping - and you did email to say cancel the post!
>
>>  ?wxSAVE was renamed to wxFD_SAVE when WXWIN_COMPATIBILITY_2_6=0
>> which is the default for 2.9 builds now (cvs head is 2.9)

Umm, I am confused for a moment.....
as for wxWidgets-2.8.0, WXWIN_COMPATIBILITY_2_6=1?

c:\home\pgadmin3-1.7.0b\pgadmin\frm\frmoptions.cpp(324) : error C2027:
[snip-japanese] 'wxFile' [snip-japanese]
c:\home\wxwidgets-2.8.0\include\wx\filename.h(32) : 'wxFile' [snip-japanese]

#include <wx/file.h> add the frmoptions.cpp is normal finished.

About which does this think to be correct?

Regards,
Hiroshi Saito



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.9/719 - Release Date: 3/12/2007
8:41 AM


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.9/719 - Release Date: 3/12/2007
8:41 AM



pgadmin-hackers by date:

Previous
From: Tim Stahlhut
Date:
Subject: Re: compile problem
Next
From: "Tim Stahlhut"
Date:
Subject: Re: compile problem