From: Pablo d'A. <da...@us...> - 2006-05-21 19:04:56
|
Update of /cvsroot/hugin/hugin/src/hugin In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv32360 Modified Files: PTWXDlg.cpp Log Message: libpano error reporting interface changed Index: PTWXDlg.cpp =================================================================== RCS file: /cvsroot/hugin/hugin/src/hugin/PTWXDlg.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- PTWXDlg.cpp 5 Apr 2006 23:05:10 -0000 1.1 +++ PTWXDlg.cpp 21 May 2006 19:04:50 -0000 1.2 @@ -48,14 +48,11 @@ #else -static void PTPrintErrorWX(char* fmt, ...) +static void PTPrintErrorWX(char* fmt, va_list ap) { - va_list ap; char message[257]; - va_start(ap, fmt); vsprintf(message, fmt, ap); - va_end(ap); // MessageBox(GetFocus(), (LPSTR)message, (LPSTR)"", MB_OK | MB_ICONHAND) ; wxMessageBox(wxString(message,*wxConvCurrent), _("Panorama Tools"), wxOK | wxICON_HAND); |