vfprintf( stderr, format, ap );
fflush( stderr );
va_end(ap);
-};
+}
void wxError( const wxString &msg, const wxString &title )
{
if (!title.IsNull()) fprintf( stderr, "%s ", WXSTRINGCAST(title) );
if (!msg.IsNull()) fprintf( stderr, ": %s", WXSTRINGCAST(msg) );
fprintf( stderr, ".\n" );
-};
+}
void wxFatalError( const wxString &msg, const wxString &title )
{
if (!msg.IsNull()) fprintf( stderr, ": %s", WXSTRINGCAST(msg) );
fprintf( stderr, ".\n" );
exit(3); // the same exit code as for abort()
-};
+}
//------------------------------------------------------------------------
// directory routines
strcpy( buf, WXSTRINGCAST(dir) );
struct stat sbuf;
return ((stat(buf, &sbuf) != -1) && S_ISDIR(sbuf.st_mode) ? TRUE : FALSE);
-};
+}
//------------------------------------------------------------------------
// subprocess routines
delete proc_data;
else
proc_data->pid = 0;
-};
+}
long wxExecute( char **argv, bool sync, wxProcess *process )
{
// failed!
return pid;
}
-};
+}
long wxExecute( const wxString& command, bool sync, wxProcess *process )
{
delete [] tmp;
return lRc;
-};
+}