version_dialog.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (C) Massimo Cora' 2005 <maxcvs@email.it>
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  */
00018 
00019 #ifndef _VERSION_DIALOG_H_
00020 #define _VERSION_DIALOG_H_
00021 
00022 #if defined(__GNUG__) && !defined(__APPLE__)
00023 #pragma interface "version_dialog.cpp"
00024 #endif
00025 
00030 
00031 
00032 
00037 
00038 
00039 
00044 
00045 #define ID_VERSION_DIALOG 10039
00046 #define SYMBOL_VERSIONDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
00047 #define SYMBOL_VERSIONDIALOG_TITLE _("Dialog")
00048 #define SYMBOL_VERSIONDIALOG_IDNAME ID_VERSION_DIALOG
00049 #define SYMBOL_VERSIONDIALOG_SIZE wxSize(400, 300)
00050 #define SYMBOL_VERSIONDIALOG_POSITION wxDefaultPosition
00052 
00053 
00057 #ifndef wxCLOSE_BOX
00058 #define wxCLOSE_BOX 0x1000
00059 #endif
00060 #ifndef wxFIXED_MINSIZE
00061 #define wxFIXED_MINSIZE 0
00062 #endif
00063 
00068 class VersionDialog: public wxDialog
00069 {    
00070     DECLARE_DYNAMIC_CLASS( VersionDialog )
00071     DECLARE_EVENT_TABLE()
00072 
00073 public:
00075     VersionDialog( );
00076     VersionDialog( wxWindow* parent, wxWindowID id = SYMBOL_VERSIONDIALOG_IDNAME, const wxString& caption = SYMBOL_VERSIONDIALOG_TITLE, const wxPoint& pos = SYMBOL_VERSIONDIALOG_POSITION, const wxSize& size = SYMBOL_VERSIONDIALOG_SIZE, long style = SYMBOL_VERSIONDIALOG_STYLE );
00077 
00079     bool Create( wxWindow* parent, wxWindowID id = SYMBOL_VERSIONDIALOG_IDNAME, const wxString& caption = SYMBOL_VERSIONDIALOG_TITLE, const wxPoint& pos = SYMBOL_VERSIONDIALOG_POSITION, const wxSize& size = SYMBOL_VERSIONDIALOG_SIZE, long style = SYMBOL_VERSIONDIALOG_STYLE );
00080 
00082     void CreateControls();
00083 
00085 
00087 
00089 
00091     wxBitmap GetBitmapResource( const wxString& name );
00092 
00094     wxIcon GetIconResource( const wxString& name );
00096 
00098     static bool ShowToolTips();
00099 
00102 };
00103 
00104 #endif
00105     // _VERSION_DIALOG_H_

Generated on Tue Dec 26 10:32:39 2006 for Omnimeeting by  doxygen 1.4.7