> Sorry.. (The last patch has few lines missing from the original one...) > Please find the update patch..
I get this on OSX:
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/pgsql/include -DSSL -I/usr/local/lib/wx/include/mac-unicode-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -g -O0 -no-cpp-precomp -arch ppc -arch i386 -I/usr/local//include/libxml2 -I/usr/local/include -I/usr/local//include/libxml2 -Wall -Wno-non-virtual-dtor -fno-strict-aliasing -I../pgadmin/include -c -o frmQuery.o `test -f './frm/frmQuery.cpp' || echo './'`./frm/frmQuery.cpp ./frm/frmQuery.cpp: In constructor ‘frmQuery::frmQuery(frmMain*, const wxString&, pgConn*, const wxString&, const wxString&)’: ./frm/frmQuery.cpp:287: error: ‘pageMarginsMenu’ was not declared in this scope ./frm/frmQuery.cpp: In member function ‘void frmQuery::updateMenu(wxObject*)’: ./frm/frmQuery.cpp:1468: error: ‘pageMarginsMenu’ was not declared in this scope ./frm/frmQuery.cpp: In constructor ‘frmQuery::frmQuery(frmMain*, const wxString&, pgConn*, const wxString&, const wxString&)’: ./frm/frmQuery.cpp:287: error: ‘pageMarginsMenu’ was not declared in this scope ./frm/frmQuery.cpp: In member function ‘void frmQuery::updateMenu(wxObject*)’: ./frm/frmQuery.cpp:1468: error: ‘pageMarginsMenu’ was not declared in this scope lipo: can't figure out the architecture type of: /var/folders/wn/wnM76L9ZF6agsFkWcNv6pk+++TI/-Tmp-//cco3pnd5.out make[2]: *** [frmQuery.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2