#!/usr/bin/python
# -*- coding: utf-8 -*-

import wx


class AboutWindow(wx.Frame):
    """
    AboutWindow

    Constructs and about window.

    """
    def __init__(self):
        """
        __init__

        Initializes the AboutDialogInfo object and sets
        all the required data.
        """
        AboutInfo = wx.AboutDialogInfo()
        AboutInfo.Name = "gEcrit"
        AboutInfo.Version = "1.8.7"
        AboutInfo.Copyright = """
gEcrit 1.8.6
PVC Inc"""
        AboutInfo.Developers = ["Groza Cristian e-mail: kristi9524@gmail.com\
",
                                "Victor Pruteanu e-mail: vikkhackerz@gmail.com"]
        AboutInfo.Website = "http://www.cristigrozatips.do.am"
        AboutInfo.License = \
            """
       Copyright 2010 Groza Cristian <kristi9524@gmail.com>
       Victor Pruteanu <vikkhackerz@gmail.com>

       This program is free software; you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published by
       the Free Software Foundation; either version 2 of the License, or
       (at your option) any later version.

       This program is distributed in the hope that it will be useful,
       but WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       GNU General Public License for more details.

       You should have received a copy of the GNU General Public License
       along with this program; if not, write to the Free Software
       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
       MA 02110-1301, USA."""
        wx.AboutBox(AboutInfo)
