00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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