OnTipOfTheDay error? - Mailing list pgadmin-hackers

From Hiroshi Saito
Subject OnTipOfTheDay error?
Date
Msg-id 028601c349d0$21971300$1f324d80@w2k
Whole thread Raw
List pgadmin-hackers
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


pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Trouble with wxWindows (XRC and STC linking problem)
Next
From: "Hiroshi Saito"
Date:
Subject: Re: FreeBSD snaphost