ErrorHandler(int aErr)
ErrorHandler(int aErr, const char* aErrMsg)
ErrorHandler(int aErr){    GtkWidget *okButton, *label;    char msg[256];    char errStr[16];        sprintf(errStr, "%d", aErr);     if (!IsErrFatal(aErr))        sprintf(msg, gCtx->Res("ERROR"), aErr, gCtx->Res(errStr));    else        sprintf(msg, gCtx->Res("FATAL_ERROR"), aErr, gCtx->Res(errStr));        sErrDlg = gtk_dialog_new();    gtk_window_set_title(GTK_WINDOW(sErrDlg), gCtx->Res("ERROR_TITLE"));    okButton = gtk_button_new_with_label(gCtx->Res("OK_LABEL"));    label = gtk_label_new(msg);    gtk_window_set_position(GTK_WINDOW(sErrDlg), GTK_WIN_POS_CENTER);    gtk_container_add(GTK_CONTAINER(GTK_DIALOG(sErrDlg)->action_area),                       okButton);    gtk_signal_connect(GTK_OBJECT(okButton), "clicked",                       GTK_SIGNAL_FUNC(ErrDlgOK), (void*)aErr);    gtk_container_add(GTK_CONTAINER(GTK_DIALOG(sErrDlg)->vbox), label);        gtk_widget_show_all(sErrDlg);    return aErr;}