Thread: OnTipOfTheDay error?

OnTipOfTheDay error?

From
"Hiroshi Saito"
Date:
Hi Andreas.

Today's CVS.
Modification doesn't seem to be suitable.

gmake[1]: Entering directory `/usr/home/saito/pgAdmin3/pgadmin3/src'
if
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/pgsql/include -I/usr/local/w
xwindows/lib/wx/include/gtk2ud-2.5 -I/usr/local/wxwindows/include -D__WXDEBU
G__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/local/wxwindows
/include -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I../sr
c/include -I -Wall -g -O0 -MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" \
  -c -o pgAdmin3.o `test -f 'pgAdmin3.cpp' || echo './'`pgAdmin3.cpp; \
then mv -f ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; \
else rm -f ".deps/pgAdmin3.Tpo"; exit 1; \
fi
pgAdmin3.cpp: In member function `virtual bool pgAdmin3::OnInit()':
pgAdmin3.cpp:267: no matching function for call to `frmMain::OnTipOfTheDay(
   wxCommandEvent)'
../src/include/frmMain.h:41: candidates are: void
   frmMain::OnTipOfTheDay(wxCommandEvent&)
gmake[1]: *** [pgAdmin3.o] error 1
gmake[1]: Leaving directory `/usr/home/saito/pgAdmin3/pgadmin3/src'
gmake: *** [install-recursive] error 1

bsd5% diff pgAdmin3/pgadmin3/src/pgAdmin3.cpp
pgAdmin3_old/pgadmin3/src/pgAdmin3.cpp
238a239,241
> #ifdef __WXMSW__
>     SetAuto3D(TRUE);
> #endif
267c270
<     if (settings->GetShowTipOfTheDay())
winMain->OnTipOfTheDay(wxCommandEvent(NULL));
---
>     if (settings->GetShowTipOfTheDay()) winMain->OnTipOfTheDay();

bsd5% diff pgAdmin3/pgadmin3/src/include/frmMain.h
pgAdmin3_old/pgadmin3/src/include/frmMain.h
41c41
<     void OnTipOfTheDay(wxCommandEvent& event);
---
>     void OnTipOfTheDay();


I am sorry. It asks for investigation because time can't be taken until this
evening.

Regards,
Hiroshi-Saito


Re: OnTipOfTheDay error?

From
"Dave Page"
Date:

> -----Original Message-----
> From: Hiroshi Saito [mailto:saito@inetrt.skcapi.co.jp]
> Sent: 14 July 2003 07:21
> To: Andreas Pflug
> Cc: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] OnTipOfTheDay error?
>
>
> Hi Andreas.
>
> Today's CVS.
> Modification doesn't seem to be suitable.

That was me (with another non-portable fix - D'oh!). Fixed now.

Regards, Dave.

Re: OnTipOfTheDay error?

From
"Hiroshi Saito"
Date:
Hi Dave.

From: "Dave Page" <dpage@vale-housing.co.uk>
(snip)
> > Today's CVS.
> > Modification doesn't seem to be suitable.
>
> That was me (with another non-portable fix - D'oh!). Fixed now.

Oh.I am sorry.
patch was confirmed suitably.
Thank you.

Today's binary is done.

Regards,
Hiroshi-Saito