From 2d1af93ecd648f3b06f348ec61b19ac1963a3c44 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 28 Jul 2005 08:21:29 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=6861 --- checkin_notes | 12 + clientgui/BOINCGUI.pjd | 5380 +++++++++++++++++++++++++++----- clientgui/WizAttachProject.cpp | 1908 ++++++++--- clientgui/WizAttachProject.h | 543 +++- 4 files changed, 6486 insertions(+), 1357 deletions(-) diff --git a/checkin_notes b/checkin_notes index 95798ba9bd..bff394bbba 100755 --- a/checkin_notes +++ b/checkin_notes @@ -9632,3 +9632,15 @@ David 27 July 2005 boinc_db.C sched/ handle_request.C + +Rom 28 July 2005 + - Add a few of the wizard error pages + - Enable the ability to direct error conditions from the welcome page. + NOTE: For trsting only, it'll be removed before we release to alpha. + - Determine which page to show after the project properties page has + done it's thing based on error conditions. + + clientgui/ + BOINCGUI.pjd + WizAttachProject.cpp + WizAttachProject.h diff --git a/clientgui/BOINCGUI.pjd b/clientgui/BOINCGUI.pjd index cba86edbb3..05d8f05949 100644 --- a/clientgui/BOINCGUI.pjd +++ b/clientgui/BOINCGUI.pjd @@ -12,7 +12,7 @@ - 222 + 300 TRUE FALSE @@ -102,7 +102,7 @@ <None> - 14694048 + 14626976 data-document @@ -113,14 +113,14 @@ 0 Configurations - 54751792 + 15130400 config-data-document 0 1 0 - 14694048 + 14626976 0 TRUE @@ -168,7 +168,7 @@ Projects - 14694672 + 14636096 root-document project @@ -179,25 +179,25 @@ 0 Windows - 15253760 + 15138688 html-document dialogsfolder 1 1 0 - 14694672 + 14636096 1 Options - 15250192 + 15135088 dialog-document dialog 0 1 0 - 15253760 + 15138688 0 8/3/2004 wbDialogProxy @@ -256,14 +256,14 @@ wxBoxSizer V - 14701952 + 14632880 dialog-control-document sizer 0 1 0 - 15250192 + 15135088 0 wbBoxSizerProxy Vertical @@ -282,14 +282,14 @@ <Any platform> wxNotebook: ID_NOTEBOOK - 14735168 + 14669248 dialog-control-document notebook 0 1 0 - 14701952 + 14632880 0 wbNotebookProxy wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED|OnNotebookPageChanged @@ -345,14 +345,14 @@ wxPanel: ID_GENERAL - 14776352 + 14710048 dialog-control-document panel 0 1 0 - 14735168 + 14669248 0 wbPanelProxy ID_GENERAL @@ -405,14 +405,14 @@ wxBoxSizer V - 14754688 + 14696528 dialog-control-document sizer 0 1 0 - 14776352 + 14710048 0 24/9/2004 wbBoxSizerProxy @@ -432,14 +432,14 @@ <Any platform> wxFlexGridSizer - 14810896 + 14777552 dialog-control-document sizer 0 1 0 - 14754688 + 14696528 0 22/5/2005 wbFlexGridSizerProxy @@ -464,14 +464,14 @@ FALSE wxStaticText: wxID_STATIC - 14797952 + 14764608 dialog-control-document statictext 0 1 0 - 14810896 + 14777552 0 22/5/2005 wbStaticTextProxy @@ -521,14 +521,14 @@ wxComboBox: ID_LANGUAGESELECTION - 14800128 + 14767760 dialog-control-document combobox 0 1 0 - 14810896 + 14777552 0 22/5/2005 wbComboBoxProxy @@ -573,14 +573,14 @@ wxStaticText: wxID_STATIC - 14825568 + 14791744 dialog-control-document statictext 0 1 0 - 14810896 + 14777552 0 22/5/2005 wbStaticTextProxy @@ -630,14 +630,14 @@ wxSlider: ID_REMINDERFREQUENCY - 14876432 + 14836464 dialog-control-document slider 0 1 0 - 14810896 + 14777552 0 22/5/2005 wbSliderProxy @@ -697,14 +697,14 @@ wxPanel: ID_CONNECTONS - 14851488 + 14840736 dialog-control-document panel 0 1 0 - 14735168 + 14669248 0 27/5/2005 wbPanelProxy @@ -758,14 +758,14 @@ wxBoxSizer V - 14906912 + 14903936 dialog-control-document sizer 0 1 0 - 14851488 + 14840736 0 27/5/2005 wbBoxSizerProxy @@ -785,14 +785,14 @@ <Any platform> wxRadioButton: ID_NETWORKAUTODETECT - 14895952 + 14893152 dialog-control-document radiobutton 0 1 0 - 14906912 + 14903936 0 27/5/2005 wbRadioButtonProxy @@ -837,14 +837,14 @@ wxRadioButton: ID_NETWORKLAN - 14880240 + 14894368 dialog-control-document radiobutton 0 1 0 - 14906912 + 14903936 0 27/5/2005 wbRadioButtonProxy @@ -889,14 +889,14 @@ wxRadioButton: ID_NETWORKDIALUP - 14926048 + 14924176 dialog-control-document radiobutton 0 1 0 - 14906912 + 14903936 0 27/5/2005 wbRadioButtonProxy @@ -941,14 +941,14 @@ wxStaticBoxSizer V - 14927616 + 14925584 dialog-control-document sizer 0 1 0 - 14906912 + 14903936 0 27/5/2005 wbStaticBoxSizerProxy @@ -972,14 +972,14 @@ <Any platform> wxFlexGridSizer - 14969024 + 15000368 dialog-control-document sizer 0 1 0 - 14927616 + 14925584 0 27/5/2005 wbFlexGridSizerProxy @@ -1004,14 +1004,14 @@ FALSE wxListBox: ID_DIALUPCONNECTIONS - 14960320 + 14987504 dialog-control-document listbox 0 1 0 - 14969024 + 15000368 0 27/5/2005 wbListBoxProxy @@ -1065,14 +1065,14 @@ wxBoxSizer V - 14999744 + 15062480 dialog-control-document sizer 0 1 0 - 14969024 + 15000368 0 27/5/2005 wbBoxSizerProxy @@ -1092,14 +1092,14 @@ <Any platform> wxButton: ID_DIALUPSETDEFAULT - 14988864 + 15051536 dialog-control-document dialogcontrol 0 1 0 - 14999744 + 15062480 0 27/5/2005 wbButtonProxy @@ -1145,14 +1145,14 @@ wxButton: ID_DIALUPCLEARDEFAULT - 14996176 + 15054080 dialog-control-document dialogcontrol 0 1 0 - 14999744 + 15062480 0 27/5/2005 wbButtonProxy @@ -1200,14 +1200,14 @@ wxFlexGridSizer - 15026080 + 15191344 dialog-control-document sizer 0 1 0 - 14927616 + 14925584 0 27/5/2005 wbFlexGridSizerProxy @@ -1232,14 +1232,14 @@ FALSE wxStaticText: ID_DIALUPDEFAULTCONNECTIONTEXT - 15013344 + 15174464 dialog-control-document statictext 0 1 0 - 15026080 + 15191344 0 27/5/2005 wbStaticTextProxy @@ -1289,14 +1289,14 @@ wxStaticText: ID_DIALUPDEFAULTCONNECTION - 15127968 + 50385088 dialog-control-document statictext 0 1 0 - 15026080 + 15191344 0 27/5/2005 wbStaticTextProxy @@ -1347,14 +1347,14 @@ wxFlexGridSizer - 15132288 + 50388528 dialog-control-document sizer 0 1 0 - 14927616 + 14925584 0 28/5/2005 wbFlexGridSizerProxy @@ -1379,14 +1379,14 @@ FALSE wxCheckBox: ID_DIALUPPROMPTUSERNAMEPASSWORD - 15016000 + 50511568 dialog-control-document checkbox 0 1 0 - 15132288 + 50388528 0 28/5/2005 wbCheckBoxProxy @@ -1435,14 +1435,14 @@ wxPanel: ID_HTTPPROXY - 15151312 + 50503072 dialog-control-document panel 0 1 0 - 14735168 + 14669248 0 wbPanelProxy ID_HTTPPROXY @@ -1495,14 +1495,14 @@ wxBoxSizer V - 15027504 + 50613808 dialog-control-document sizer 0 1 0 - 15151312 + 50503072 0 wbBoxSizerProxy Vertical @@ -1521,14 +1521,14 @@ <Any platform> wxCheckBox: ID_ENABLEHTTPPROXYCTRL - 15230080 + 50603008 dialog-control-document checkbox 0 1 0 - 15027504 + 50613808 0 wbCheckBoxProxy wxEVT_COMMAND_CHECKBOX_CLICKED|OnEnableHTTPProxyCtrlClick @@ -1574,14 +1574,14 @@ wxStaticBoxSizer V - 15231776 + 50649152 dialog-control-document sizer 0 1 0 - 15027504 + 50613808 0 wbStaticBoxSizerProxy wxID_ANY @@ -1604,14 +1604,14 @@ <Any platform> wxGridSizer - 15208864 + 50638448 dialog-control-document sizer 0 1 0 - 15231776 + 50649152 0 wbGridSizerProxy 1 @@ -1633,14 +1633,14 @@ FALSE wxFlexGridSizer - 45832640 + 50628288 dialog-control-document sizer 0 1 0 - 15208864 + 50638448 0 wbFlexGridSizerProxy @@ -1664,14 +1664,14 @@ FALSE wxStaticText: wxID_STATIC - 45820272 + 50685360 dialog-control-document statictext 0 1 0 - 45832640 + 50628288 0 wbStaticTextProxy wxID_STATIC @@ -1720,14 +1720,14 @@ wxTextCtrl: ID_HTTPADDRESSCTRL - 45926752 + 50666240 dialog-control-document textctrl 0 1 0 - 45832640 + 50628288 0 wbTextCtrlProxy ID_HTTPADDRESSCTRL @@ -1787,14 +1787,14 @@ wxStaticText: wxID_STATIC - 45934096 + 50769680 dialog-control-document statictext 0 1 0 - 45832640 + 50628288 0 wbStaticTextProxy wxID_STATIC @@ -1843,14 +1843,14 @@ wxTextCtrl: ID_HTTPPORTCTRL - 46013024 + 50770304 dialog-control-document textctrl 0 1 0 - 45832640 + 50628288 0 wbTextCtrlProxy ID_HTTPPORTCTRL @@ -1912,14 +1912,14 @@ wxStaticBoxSizer V - 46060240 + 50962464 dialog-control-document sizer 0 1 0 - 15231776 + 50649152 0 wbStaticBoxSizerProxy wxID_ANY @@ -1942,14 +1942,14 @@ <Any platform> wxFlexGridSizer - 46053600 + 50628736 dialog-control-document sizer 0 1 0 - 46060240 + 50962464 0 wbFlexGridSizerProxy @@ -1973,14 +1973,14 @@ FALSE wxStaticText: wxID_STATIC - 45832960 + 51012400 dialog-control-document statictext 0 1 0 - 46053600 + 50628736 0 wbStaticTextProxy wxID_STATIC @@ -2031,14 +2031,14 @@ wxTextCtrl: ID_HTTPUSERNAMECTRL - 46086496 + 50993280 dialog-control-document textctrl 0 1 0 - 46053600 + 50628736 0 wbTextCtrlProxy ID_HTTPUSERNAMECTRL @@ -2098,14 +2098,14 @@ wxStaticText: wxID_STATIC - 46126624 + 51035200 dialog-control-document statictext 0 1 0 - 46053600 + 50628736 0 wbStaticTextProxy wxID_STATIC @@ -2156,14 +2156,14 @@ wxTextCtrl: ID_HTTPPASSWORDCTRL - 46107600 + 51076320 dialog-control-document textctrl 0 1 0 - 46053600 + 50628736 0 wbTextCtrlProxy ID_HTTPPASSWORDCTRL @@ -2228,14 +2228,14 @@ wxPanel: ID_SOCKSPROXY - 46151136 + 51077328 dialog-control-document panel 0 1 0 - 14735168 + 14669248 0 wbPanelProxy ID_SOCKSPROXY @@ -2290,14 +2290,14 @@ FALSE wxBoxSizer V - 46202640 + 51115808 dialog-control-document sizer 0 1 0 - 46151136 + 51077328 0 wbBoxSizerProxy Vertical @@ -2316,14 +2316,14 @@ <Any platform> wxCheckBox: ID_ENABLESOCKSPROXYCTRL - 46191616 + 51104976 dialog-control-document checkbox 0 1 0 - 46202640 + 51115808 0 wbCheckBoxProxy wxEVT_COMMAND_CHECKBOX_CLICKED|OnEnableSOCKSProxyCtrlClick @@ -2369,14 +2369,14 @@ wxStaticBoxSizer V - 46193312 + 51111280 dialog-control-document sizer 0 1 0 - 46202640 + 51115808 0 wbStaticBoxSizerProxy wxID_ANY @@ -2399,14 +2399,14 @@ <Any platform> wxGridSizer - 46226544 + 51140256 dialog-control-document sizer 0 1 0 - 46193312 + 51111280 0 wbGridSizerProxy 1 @@ -2428,14 +2428,14 @@ FALSE wxFlexGridSizer - 46220416 + 51138224 dialog-control-document sizer 0 1 0 - 46226544 + 51140256 0 wbFlexGridSizerProxy @@ -2459,14 +2459,14 @@ FALSE wxStaticText: wxID_STATIC - 46207696 + 51121408 dialog-control-document statictext 0 1 0 - 46220416 + 51138224 0 wbStaticTextProxy wxID_STATIC @@ -2517,14 +2517,14 @@ wxTextCtrl: ID_SOCKSADDRESSCTRL - 46251200 + 51162832 dialog-control-document textctrl 0 1 0 - 46220416 + 51138224 0 wbTextCtrlProxy ID_SOCKSADDRESSCTRL @@ -2586,14 +2586,14 @@ wxStaticText: wxID_STATIC - 46288224 + 51188432 dialog-control-document statictext 0 1 0 - 46220416 + 51138224 0 wbStaticTextProxy wxID_STATIC @@ -2644,14 +2644,14 @@ wxTextCtrl: ID_SOCKSPORTCTRL - 46269072 + 15184416 dialog-control-document textctrl 0 1 0 - 46220416 + 51138224 0 wbTextCtrlProxy ID_SOCKSPORTCTRL @@ -2715,14 +2715,14 @@ wxStaticBoxSizer V - 46292480 + 14731872 dialog-control-document sizer 0 1 0 - 46193312 + 51111280 0 wbStaticBoxSizerProxy wxID_ANY @@ -2745,14 +2745,14 @@ <Any platform> wxFlexGridSizer - 45850064 + 14737552 dialog-control-document sizer 0 1 0 - 46292480 + 14731872 0 wbFlexGridSizerProxy @@ -2776,14 +2776,14 @@ FALSE wxStaticText: wxID_STATIC - 45861856 + 51131696 dialog-control-document statictext 0 1 0 - 45850064 + 14737552 0 wbStaticTextProxy wxID_STATIC @@ -2834,14 +2834,14 @@ wxTextCtrl: ID_SOCKSUSERNAMECTRL - 45885856 + 50354304 dialog-control-document textctrl 0 1 0 - 45850064 + 14737552 0 wbTextCtrlProxy ID_SOCKSUSERNAMECTRL @@ -2903,14 +2903,14 @@ wxStaticText: wxID_STATIC - 45879728 + 14858144 dialog-control-document statictext 0 1 0 - 45850064 + 14737552 0 wbStaticTextProxy wxID_STATIC @@ -2961,14 +2961,14 @@ wxTextCtrl: ID_SOCKSPASSWORDCTRL - 45960560 + 50355648 dialog-control-document textctrl 0 1 0 - 45850064 + 14737552 0 wbTextCtrlProxy ID_SOCKSPASSWORDCTRL @@ -3036,14 +3036,14 @@ wxBoxSizer H - 15045248 + 50420768 dialog-control-document sizer 0 1 0 - 14701952 + 14632880 0 wbBoxSizerProxy Horizontal @@ -3062,14 +3062,14 @@ <Any platform> wxButton: wxID_OK - 15059184 + 50426528 dialog-control-document dialogcontrol 0 1 0 - 15045248 + 50420768 0 wbButtonProxy wxID_OK @@ -3113,14 +3113,14 @@ wxButton: wxID_CANCEL - 15060656 + 14725312 dialog-control-document dialogcontrol 0 1 0 - 15045248 + 50420768 0 wbButtonProxy wxID_CANCEL @@ -3167,14 +3167,14 @@ About BOINC - 46193760 + 50443712 dialog-document dialog 0 1 0 - 15253760 + 15138688 0 9/3/2004 wbDialogProxy @@ -3234,14 +3234,14 @@ wxBoxSizer V - 15085328 + 14732288 dialog-control-document sizer 0 1 0 - 46193760 + 50443712 0 wbBoxSizerProxy Vertical @@ -3260,14 +3260,14 @@ <Any platform> wxStaticText: wxID_STATIC - 15090816 + 14948496 dialog-control-document statictext 0 1 0 - 15085328 + 14732288 0 wbStaticTextProxy wxID_STATIC @@ -3316,14 +3316,14 @@ wxBoxSizer H - 15183472 + 14948800 dialog-control-document sizer 0 1 0 - 15085328 + 14732288 0 wbBoxSizerProxy Horizontal @@ -3342,14 +3342,14 @@ <Any platform> wxBoxSizer V - 15190816 + 14972160 dialog-control-document sizer 0 1 0 - 15183472 + 14948800 0 wbBoxSizerProxy Vertical @@ -3368,14 +3368,14 @@ <Any platform> wxStaticBitmap: wxID_STATIC - 15196576 + 50474480 dialog-control-document staticbitmap 0 1 0 - 15190816 + 14972160 0 wbStaticBitmapProxy wxID_STATIC @@ -3419,14 +3419,14 @@ wxFlexGridSizer - 45985552 + 50468368 dialog-control-document sizer 0 1 0 - 15183472 + 14948800 0 wbFlexGridSizerProxy @@ -3450,14 +3450,14 @@ FALSE wxStaticText: wxID_STATIC - 45997808 + 15011600 dialog-control-document statictext 0 1 0 - 45985552 + 50468368 0 wbStaticTextProxy wxID_STATIC @@ -3506,14 +3506,14 @@ wxStaticText: wxID_STATIC - 45990976 + 15030448 dialog-control-document statictext 0 1 0 - 45985552 + 50468368 0 wbStaticTextProxy wxID_STATIC @@ -3562,14 +3562,14 @@ wxStaticText: wxID_STATIC - 54779088 + 50539568 dialog-control-document statictext 0 1 0 - 45985552 + 50468368 0 wbStaticTextProxy wxID_STATIC @@ -3618,14 +3618,14 @@ wxStaticText: wxID_STATIC - 54799952 + 50553952 dialog-control-document statictext 0 1 0 - 45985552 + 50468368 0 wbStaticTextProxy wxID_STATIC @@ -3677,14 +3677,14 @@ All Rights Reserved. wxStaticText: wxID_STATIC - 54813984 + 15088928 dialog-control-document statictext 0 1 0 - 15085328 + 14732288 0 wbStaticTextProxy wxID_STATIC @@ -3735,14 +3735,14 @@ All Rights Reserved. wxStaticText: wxID_STATIC - 54832128 + 15102896 dialog-control-document statictext 0 1 0 - 15085328 + 14732288 0 wbStaticTextProxy wxID_STATIC @@ -3793,14 +3793,14 @@ All Rights Reserved. wxHyperLink: ID_ABOUTBOINCLINK - 54846128 + 50575872 dialog-control-document foreign 0 1 0 - 15085328 + 14732288 0 21/6/2005 wbCustomCtrlProxy:wxHyperLink @@ -3853,14 +3853,14 @@ All Rights Reserved. wxStaticLine: wxID_STATIC - 54868624 + 50576784 dialog-control-document staticline 0 1 0 - 15085328 + 14732288 0 wbStaticLineProxy wxID_STATIC @@ -3900,14 +3900,14 @@ All Rights Reserved. wxButton: wxID_OK - 54862112 + 50707504 dialog-control-document dialogcontrol 0 1 0 - 15085328 + 14732288 0 wbButtonProxy wxID_OK @@ -3955,14 +3955,14 @@ All Rights Reserved. Attach to Project - 54902064 + 50722976 dialog-document dialog 0 1 0 - 15253760 + 15138688 0 9/3/2004 wbDialogProxy @@ -4023,14 +4023,14 @@ All Rights Reserved. wxBoxSizer V - 15077824 + 50733248 dialog-control-document sizer 0 1 0 - 54902064 + 50722976 0 wbBoxSizerProxy Vertical @@ -4049,14 +4049,14 @@ All Rights Reserved. <Any platform> wxFlexGridSizer - 54927024 + 50748336 dialog-control-document sizer 0 1 0 - 15077824 + 50733248 0 29/2/2005 wbFlexGridSizerProxy @@ -4081,14 +4081,14 @@ All Rights Reserved. FALSE wxBoxSizer V - 54932944 + 50754224 dialog-control-document sizer 0 1 0 - 54927024 + 50748336 0 29/2/2005 wbBoxSizerProxy @@ -4108,14 +4108,14 @@ All Rights Reserved. <Any platform> wxFlexGridSizer - 54939872 + 50801968 dialog-control-document sizer 0 1 0 - 54932944 + 50754224 0 29/2/2005 wbFlexGridSizerProxy @@ -4140,14 +4140,14 @@ All Rights Reserved. FALSE wxStaticText: wxID_STATIC - 54954048 + 50813792 dialog-control-document statictext 0 1 0 - 54939872 + 50801968 0 29/2/2005 wbStaticTextProxy @@ -4199,14 +4199,14 @@ All Rights Reserved. wxTextCtrl: ID_PROJECTADDRESS - 54973376 + 50838752 dialog-control-document textctrl 0 1 0 - 54939872 + 50801968 0 29/2/2005 wbTextCtrlProxy @@ -4267,14 +4267,14 @@ All Rights Reserved. wxStaticText: wxID_STATIC - 55002784 + 50833696 dialog-control-document statictext 0 1 0 - 54939872 + 50801968 0 29/2/2005 wbStaticTextProxy @@ -4326,14 +4326,14 @@ All Rights Reserved. wxTextCtrl: ID_PROJECTACCOUNTKEY - 54998784 + 50879744 dialog-control-document textctrl 0 1 0 - 54939872 + 50801968 0 29/2/2005 wbTextCtrlProxy @@ -4395,14 +4395,14 @@ All Rights Reserved. wxStaticText: wxID_STATIC - 55038000 + 50904448 dialog-control-document statictext 0 1 0 - 54932944 + 50754224 0 29/2/2005 wbStaticTextProxy @@ -4455,14 +4455,14 @@ Visit http://boinc.berkeley.edu for a list of projects. wxBoxSizer V - 55055952 + 50900016 dialog-control-document sizer 0 1 0 - 54927024 + 50748336 0 29/2/2005 wbBoxSizerProxy @@ -4482,14 +4482,14 @@ Visit http://boinc.berkeley.edu for a list of projects. <Any platform> wxButton: wxID_OK - 55069648 + 50874288 dialog-control-document dialogcontrol 0 1 0 - 55055952 + 50900016 0 29/2/2005 wbButtonProxy @@ -4536,14 +4536,14 @@ Visit http://boinc.berkeley.edu for a list of projects. wxButton: wxID_CANCEL - 55040880 + 50941040 dialog-control-document dialogcontrol 0 1 0 - 55055952 + 50900016 0 29/2/2005 wbButtonProxy @@ -4594,14 +4594,14 @@ Visit http://boinc.berkeley.edu for a list of projects. Account Manager Signup - 55096576 + 50701712 dialog-document dialog 0 1 0 - 15253760 + 15138688 0 10/2/2005 wbDialogProxy @@ -4663,14 +4663,14 @@ Visit http://boinc.berkeley.edu for a list of projects. wxFlexGridSizer - 54919808 + 62923968 dialog-control-document sizer 0 1 0 - 55096576 + 50701712 0 28/5/2005 wbFlexGridSizerProxy @@ -4695,14 +4695,14 @@ Visit http://boinc.berkeley.edu for a list of projects. FALSE wxBoxSizer V - 55123568 + 62938016 dialog-control-document sizer 0 1 0 - 54919808 + 62923968 0 28/5/2005 wbBoxSizerProxy @@ -4722,14 +4722,14 @@ Visit http://boinc.berkeley.edu for a list of projects. <Any platform> wxStaticText: ID_ACCTMANAGERTEXT - 55128688 + 62951184 dialog-control-document statictext 0 1 0 - 55123568 + 62938016 0 28/5/2005 wbStaticTextProxy @@ -4780,14 +4780,14 @@ For more information, click on the link below. wxHyperLink: ID_ACCTMANAGERDOCLINK - 55153728 + 62969632 dialog-control-document foreign 0 1 0 - 55123568 + 62938016 0 30/5/2005 wbCustomCtrlProxy:wxHyperLink @@ -4840,14 +4840,14 @@ For more information, click on the link below. wxFlexGridSizer - 55154416 + 62991344 dialog-control-document sizer 0 1 0 - 55123568 + 62938016 0 28/5/2005 wbFlexGridSizerProxy @@ -4872,14 +4872,14 @@ For more information, click on the link below. FALSE wxStaticText: wxID_STATIC - 55130688 + 63003200 dialog-control-document statictext 0 1 0 - 55154416 + 62991344 0 28/5/2005 wbStaticTextProxy @@ -4929,14 +4929,14 @@ For more information, click on the link below. wxTextCtrl: ID_ACCTMANAGERURL - 55197840 + 63024752 dialog-control-document textctrl 0 1 0 - 55154416 + 62991344 0 28/5/2005 wbTextCtrlProxy @@ -4997,14 +4997,14 @@ For more information, click on the link below. wxStaticText: wxID_STATIC - 55230224 + 63017456 dialog-control-document statictext 0 1 0 - 55154416 + 62991344 0 28/5/2005 wbStaticTextProxy @@ -5054,14 +5054,14 @@ For more information, click on the link below. wxTextCtrl: ID_ACCTMANAGERUSERNAME - 55244336 + 63058752 dialog-control-document textctrl 0 1 0 - 55154416 + 62991344 0 28/5/2005 wbTextCtrlProxy @@ -5122,14 +5122,14 @@ For more information, click on the link below. wxStaticText: wxID_STATIC - 55271184 + 63090448 dialog-control-document statictext 0 1 0 - 55154416 + 62991344 0 28/5/2005 wbStaticTextProxy @@ -5179,14 +5179,14 @@ For more information, click on the link below. wxTextCtrl: ID_ACCTMANAGERPASSWORD - 55265376 + 63104704 dialog-control-document textctrl 0 1 0 - 55154416 + 62991344 0 28/5/2005 wbTextCtrlProxy @@ -5249,14 +5249,14 @@ For more information, click on the link below. wxFlexGridSizer - 55300128 + 63126208 dialog-control-document sizer 0 1 0 - 54919808 + 62923968 0 28/5/2005 wbFlexGridSizerProxy @@ -5281,14 +5281,14 @@ For more information, click on the link below. FALSE wxButton: wxID_OK - 55148640 + 63138704 dialog-control-document dialogcontrol 0 1 0 - 55300128 + 63126208 0 28/5/2005 wbButtonProxy @@ -5333,14 +5333,14 @@ For more information, click on the link below. wxButton: wxID_CANCEL - 55327248 + 63132240 dialog-control-document dialogcontrol 0 1 0 - 55300128 + 63126208 0 28/5/2005 wbButtonProxy @@ -5388,14 +5388,14 @@ For more information, click on the link below. Account Manager Status - 55343072 + 63161152 dialog-document dialog 0 1 0 - 15253760 + 15138688 0 16/5/2005 wbDialogProxy @@ -5456,14 +5456,14 @@ For more information, click on the link below. wxBoxSizer V - 55355936 + 50707808 dialog-control-document sizer 0 1 0 - 55343072 + 63161152 0 16/5/2005 wbBoxSizerProxy @@ -5483,14 +5483,14 @@ For more information, click on the link below. <Any platform> wxBoxSizer H - 55363104 + 63183328 dialog-control-document sizer 0 1 0 - 55355936 + 50707808 0 16/5/2005 wbBoxSizerProxy @@ -5510,14 +5510,14 @@ For more information, click on the link below. <Any platform> wxBoxSizer V - 55370288 + 63190512 dialog-control-document sizer 0 1 0 - 55363104 + 63183328 0 8/6/2005 wbBoxSizerProxy @@ -5537,14 +5537,14 @@ For more information, click on the link below. <Any platform> wxStaticText: wxID_STATIC - 55382608 + 63203648 dialog-control-document statictext 0 1 0 - 55370288 + 63190512 0 8/6/2005 wbStaticTextProxy @@ -5594,14 +5594,14 @@ For more information, click on the link below. wxFlexGridSizer - 55385872 + 63224064 dialog-control-document sizer 0 1 0 - 55370288 + 63190512 0 8/6/2005 wbFlexGridSizerProxy @@ -5626,14 +5626,14 @@ For more information, click on the link below. FALSE wxStaticText: wxID_STATIC - 55412032 + 63235904 dialog-control-document statictext 0 1 0 - 55385872 + 63224064 0 8/6/2005 wbStaticTextProxy @@ -5683,14 +5683,14 @@ For more information, click on the link below. wxStaticText: ID_ACCTMANAGERNAME - 55432976 + 63258048 dialog-control-document statictext 0 1 0 - 55385872 + 63224064 0 8/6/2005 wbStaticTextProxy @@ -5740,14 +5740,14 @@ For more information, click on the link below. wxStaticText: wxID_STATIC - 55459264 + 63251776 dialog-control-document statictext 0 1 0 - 55385872 + 63224064 0 8/6/2005 wbStaticTextProxy @@ -5797,14 +5797,14 @@ For more information, click on the link below. wxHyperLink: ID_ACCTMANAGERLINK - 55452992 + 63287536 dialog-control-document foreign 0 1 0 - 55385872 + 63224064 0 8/6/2005 wbCustomCtrlProxy:wxHyperLink @@ -5859,14 +5859,14 @@ For more information, click on the link below. wxBoxSizer V - 55489728 + 63288864 dialog-control-document sizer 0 1 0 - 55363104 + 63183328 0 16/5/2005 wbBoxSizerProxy @@ -5886,14 +5886,14 @@ For more information, click on the link below. <Any platform> wxButton: ID_UPDATE - 55503440 + 63309712 dialog-control-document dialogcontrol 0 1 0 - 55489728 + 63288864 0 16/5/2005 wbButtonProxy @@ -5939,14 +5939,14 @@ For more information, click on the link below. wxButton: ID_CHANGE - 55497280 + 63324976 dialog-control-document dialogcontrol 0 1 0 - 55489728 + 63288864 0 16/5/2005 wbButtonProxy @@ -5992,14 +5992,14 @@ For more information, click on the link below. wxButton: wxID_CANCEL - 55527280 + 63344848 dialog-control-document dialogcontrol 0 1 0 - 55489728 + 63288864 0 16/5/2005 wbButtonProxy @@ -6048,14 +6048,14 @@ For more information, click on the link below. Select Computer - 55521568 + 63368848 dialog-document dialog 0 1 0 - 15253760 + 15138688 0 29/2/2005 wbDialogProxy @@ -6116,14 +6116,14 @@ For more information, click on the link below. wxBoxSizer V - 55557584 + 63377168 dialog-control-document sizer 0 1 0 - 55521568 + 63368848 0 29/2/2005 wbBoxSizerProxy @@ -6143,14 +6143,14 @@ For more information, click on the link below. <Any platform> wxFlexGridSizer - 55564448 + 63383904 dialog-control-document sizer 0 1 0 - 55557584 + 63377168 0 29/2/2005 wbFlexGridSizerProxy @@ -6175,14 +6175,14 @@ For more information, click on the link below. FALSE wxBoxSizer V - 55578384 + 63389760 dialog-control-document sizer 0 1 0 - 55564448 + 63383904 0 29/2/2005 wbBoxSizerProxy @@ -6202,14 +6202,14 @@ For more information, click on the link below. <Any platform> wxFlexGridSizer - 55585088 + 63404864 dialog-control-document sizer 0 1 0 - 55578384 + 63389760 0 29/2/2005 wbFlexGridSizerProxy @@ -6234,14 +6234,14 @@ For more information, click on the link below. FALSE wxStaticText: wxID_STATIC - 55596928 + 63417792 dialog-control-document statictext 0 1 0 - 55585088 + 63404864 0 29/2/2005 wbStaticTextProxy @@ -6291,14 +6291,14 @@ For more information, click on the link below. wxComboBox: ID_SELECTCOMPUTERNAME - 55623248 + 63411920 dialog-control-document combobox 0 1 0 - 55585088 + 63404864 0 29/2/2005 wbComboBoxProxy @@ -6343,14 +6343,14 @@ For more information, click on the link below. wxStaticText: wxID_STATIC - 55639184 + 63452960 dialog-control-document statictext 0 1 0 - 55585088 + 63404864 0 29/2/2005 wbStaticTextProxy @@ -6400,14 +6400,14 @@ For more information, click on the link below. wxTextCtrl: ID_SELECTCOMPUTERPASSWORD - 55654560 + 63418128 dialog-control-document textctrl 0 1 0 - 55585088 + 63404864 0 29/2/2005 wbTextCtrlProxy @@ -6470,14 +6470,14 @@ For more information, click on the link below. wxBoxSizer V - 55655840 + 63495600 dialog-control-document sizer 0 1 0 - 55564448 + 63383904 0 29/2/2005 wbBoxSizerProxy @@ -6497,14 +6497,14 @@ For more information, click on the link below. <Any platform> wxButton: wxID_OK - 55675472 + 63501088 dialog-control-document dialogcontrol 0 1 0 - 55655840 + 63495600 0 29/2/2005 wbButtonProxy @@ -6551,14 +6551,14 @@ For more information, click on the link below. wxButton: wxID_CANCEL - 55689584 + 63513760 dialog-control-document dialogcontrol 0 1 0 - 55655840 + 63495600 0 29/2/2005 wbButtonProxy @@ -6609,14 +6609,14 @@ For more information, click on the link below. Dialup Logon - 55717328 + 63529312 dialog-document dialog 0 1 0 - 15253760 + 15138688 0 28/5/2005 wbDialogProxy @@ -6677,14 +6677,14 @@ For more information, click on the link below. wxFlexGridSizer - 55735568 + 63542816 dialog-control-document sizer 0 1 0 - 55717328 + 63529312 0 28/5/2005 wbFlexGridSizerProxy @@ -6709,14 +6709,14 @@ For more information, click on the link below. FALSE wxBoxSizer V - 55692096 + 63556848 dialog-control-document sizer 0 1 0 - 55735568 + 63542816 0 28/5/2005 wbBoxSizerProxy @@ -6736,14 +6736,14 @@ For more information, click on the link below. <Any platform> wxFlexGridSizer - 55745712 + 63563776 dialog-control-document sizer 0 1 0 - 55692096 + 63556848 0 28/5/2005 wbFlexGridSizerProxy @@ -6768,14 +6768,14 @@ For more information, click on the link below. FALSE wxStaticText: wxID_STATIC - 55757536 + 63575232 dialog-control-document statictext 0 1 0 - 55745712 + 63563776 0 28/5/2005 wbStaticTextProxy @@ -6825,14 +6825,14 @@ For more information, click on the link below. wxTextCtrl: ID_USERNAME - 55782304 + 63597504 dialog-control-document textctrl 0 1 0 - 55745712 + 63563776 0 28/5/2005 wbTextCtrlProxy @@ -6893,14 +6893,14 @@ For more information, click on the link below. wxStaticText: wxID_STATIC - 55776496 + 63626688 dialog-control-document statictext 0 1 0 - 55745712 + 63563776 0 28/5/2005 wbStaticTextProxy @@ -6950,14 +6950,14 @@ For more information, click on the link below. wxTextCtrl: ID_PASSWORD - 55824144 + 63620704 dialog-control-document textctrl 0 1 0 - 55745712 + 63563776 0 28/5/2005 wbTextCtrlProxy @@ -7020,14 +7020,14 @@ For more information, click on the link below. wxFlexGridSizer - 55842784 + 63663888 dialog-control-document sizer 0 1 0 - 55735568 + 63542816 0 28/5/2005 wbFlexGridSizerProxy @@ -7052,14 +7052,14 @@ For more information, click on the link below. FALSE wxButton: wxID_OK - 55855344 + 63627024 dialog-control-document dialogcontrol 0 1 0 - 55842784 + 63663888 0 28/5/2005 wbButtonProxy @@ -7104,14 +7104,14 @@ For more information, click on the link below. wxButton: wxID_CANCEL - 55812528 + 63681408 dialog-control-document dialogcontrol 0 1 0 - 55842784 + 63663888 0 28/5/2005 wbButtonProxy @@ -7159,14 +7159,14 @@ For more information, click on the link below. Attach to Project Wizard - 55873696 + 63681856 dialog-document wizarddialog 0 1 0 - 15253760 + 15138688 0 21/6/2005 wbWizardProxy @@ -7207,17 +7207,18 @@ For more information, click on the link below. FALSE wxWizardPage: ID_WELCOMEPAGE - 55890464 + 15140800 dialog-control-document panel 0 1 0 - 55873696 + 63681856 0 21/6/2005 wbWizardPageProxy + wxEVT_WIZARD_PAGE_CHANGING|OnPageChanging ID_WELCOMEPAGE 10033 CWelcomePage @@ -7249,14 +7250,14 @@ For more information, click on the link below. wxBoxSizer V - 55738608 + 15159056 dialog-control-document sizer 0 1 0 - 55890464 + 15140800 0 21/6/2005 wbBoxSizerProxy @@ -7276,14 +7277,14 @@ For more information, click on the link below. <Any platform> wxStaticText: wxID_STATIC - 55906928 + 15164016 dialog-control-document statictext 0 1 0 - 55738608 + 15159056 0 21/6/2005 wbStaticTextProxy @@ -7334,14 +7335,14 @@ Wizard wxStaticText: wxID_STATIC - 55929632 + 63720672 dialog-control-document statictext 0 1 0 - 55738608 + 15159056 0 21/6/2005 wbStaticTextProxy @@ -7391,14 +7392,14 @@ Wizard Spacer - 55949888 + 63713824 dialog-control-document spacer 0 1 0 - 55738608 + 15159056 0 21/6/2005 wbSpacerProxy @@ -7419,14 +7420,14 @@ Wizard wxStaticText: wxID_STATIC - 55956880 + 63738032 dialog-control-document statictext 0 1 0 - 55738608 + 15159056 0 21/6/2005 wbStaticTextProxy @@ -7476,21 +7477,25 @@ a project using an existing account or creating a new one. - Spacer - 55973472 + wxStaticBoxSizer V + 63741584 dialog-control-document - spacer + sizer 0 1 0 - 55738608 + 15159056 0 - 21/6/2005 - wbSpacerProxy - 5 - 125 - Left + 27/6/2005 + wbStaticBoxSizerProxy + wxID_ANY + -1 + Debug Flags + + Vertical + + Expand Centre 0 5 @@ -7500,19 +7505,416 @@ a project using an existing account or creating a new one. TRUE FALSE FALSE - TRUE + FALSE <Any platform> + + wxFlexGridSizer + 63769808 + dialog-control-document + + sizer + 0 + 1 + 0 + 63741584 + 0 + 27/6/2005 + wbFlexGridSizerProxy + 0, 1 + + 2 + -1 + 0 + 0 + + <Any platform> + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + wxCheckBox: ID_ERRPROJECTPROPERTIES + 63782192 + dialog-control-document + + checkbox + 0 + 1 + 0 + 63769808 + 0 + 27/6/2005 + wbCheckBoxProxy + ID_ERRPROJECTPROPERTIES + 10047 + wxCheckBox + m_ErrProjectPropertiesCtrl + Project Properties Failure + FALSE + + + + + + + + FALSE + <Any platform> + FALSE + TRUE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxCheckBox: ID_ERRPROJECTCOMM + 63774736 + dialog-control-document + + checkbox + 0 + 1 + 0 + 63769808 + 0 + 27/6/2005 + wbCheckBoxProxy + ID_ERRPROJECTCOMM + 10052 + wxCheckBox + m_ErrProjectCommCtrl + Project Comm Failure + FALSE + + + + + + + + FALSE + <Any platform> + FALSE + TRUE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxCheckBox: ID_ERRGOOGLECOMM + 63812288 + dialog-control-document + + checkbox + 0 + 1 + 0 + 63769808 + 0 + 27/6/2005 + wbCheckBoxProxy + ID_ERRGOOGLECOMM + 10053 + wxCheckBox + m_ErrGoogleCommCtrl + Google Comm Failure + FALSE + + + + + + + + FALSE + <Any platform> + FALSE + TRUE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxCheckBox: ID_ERRPROJECTUNAVAILABLE + 63828912 + dialog-control-document + + checkbox + 0 + 1 + 0 + 63769808 + 0 + 27/6/2005 + wbCheckBoxProxy + ID_ERRPROJECTUNAVAILABLE + 10054 + wxCheckBox + m_ErrProjectUnavailableCtrl + Project Unavailable + FALSE + + + + + + + + FALSE + <Any platform> + FALSE + TRUE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxCheckBox: ID_ERRYAHOOCOMM + 63845792 + dialog-control-document + + checkbox + 0 + 1 + 0 + 63769808 + 0 + 27/6/2005 + wbCheckBoxProxy + ID_ERRYAHOOCOMM + 10055 + wxCheckBox + m_ErrYahooCommCtrl + Yahoo Comm Failure + FALSE + + + + + + + + FALSE + <Any platform> + FALSE + TRUE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxCheckBox: ID_ERRACCOUNTALREADYEXISTS + 63846096 + dialog-control-document + + checkbox + 0 + 1 + 0 + 63769808 + 0 + 27/6/2005 + wbCheckBoxProxy + ID_ERRACCOUNTALREADYEXISTS + 10056 + wxCheckBox + m_ErrAccountAlreadyExistsCtrl + Account Already Exists + FALSE + + + + + + + + FALSE + <Any platform> + FALSE + TRUE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxCheckBox: ID_ERRNETDETECTION + 63878992 + dialog-control-document + + checkbox + 0 + 1 + 0 + 63769808 + 0 + 27/6/2005 + wbCheckBoxProxy + ID_ERRNETDETECTION + 10057 + wxCheckBox + m_ErrNetDetectionCtrl + Net Detection Failure + FALSE + + + + + + + + FALSE + <Any platform> + FALSE + TRUE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + - + wxStaticText: wxID_STATIC - 55980528 + 63895152 dialog-control-document statictext 0 1 0 - 55738608 + 15159056 0 21/6/2005 wbStaticTextProxy @@ -7562,16 +7964,16 @@ a project using an existing account or creating a new one. - + wxWizardPage: ID_PROJECTINFOPAGE - 55974080 + 63913744 dialog-control-document panel 0 1 0 - 55873696 + 63681856 0 21/6/2005 wbWizardPageProxy @@ -7605,16 +8007,16 @@ a project using an existing account or creating a new one. -1 - + wxBoxSizer V - 56008464 + 63923936 dialog-control-document sizer 0 1 0 - 55974080 + 63913744 0 21/6/2005 wbBoxSizerProxy @@ -7632,16 +8034,16 @@ a project using an existing account or creating a new one. FALSE FALSE <Any platform> - + wxStaticText: wxID_STATIC - 56013520 + 15151152 dialog-control-document statictext 0 1 0 - 56008464 + 63923936 0 21/6/2005 wbStaticTextProxy @@ -7689,16 +8091,16 @@ a project using an existing account or creating a new one. - + wxStaticText: wxID_STATIC - 56037936 + 63948320 dialog-control-document statictext 0 1 0 - 56008464 + 63923936 0 21/6/2005 wbStaticTextProxy @@ -7746,16 +8148,16 @@ a project using an existing account or creating a new one. - + Spacer - 56033520 + 63968816 dialog-control-document spacer 0 1 0 - 56008464 + 63923936 0 21/6/2005 wbSpacerProxy @@ -7774,16 +8176,16 @@ a project using an existing account or creating a new one. FALSE <Any platform> - + wxStaticText: wxID_STATIC - 56013888 + 63975872 dialog-control-document statictext 0 1 0 - 56008464 + 63923936 0 21/6/2005 wbStaticTextProxy @@ -7832,16 +8234,16 @@ a web address and can be found in your browsers address bar. - + wxFlexGridSizer - 56080240 + 63943232 dialog-control-document sizer 0 1 0 - 56008464 + 63923936 0 21/6/2005 wbFlexGridSizerProxy @@ -7864,16 +8266,16 @@ a web address and can be found in your browsers address bar. FALSE FALSE FALSE - + wxStaticText: ID_PROJECTURLSTATICCTRL - 56092064 + 64001600 dialog-control-document statictext 0 1 0 - 56080240 + 63943232 0 21/6/2005 wbStaticTextProxy @@ -7921,16 +8323,16 @@ a web address and can be found in your browsers address bar. - + wxTextCtrl: ID_PROJECTURLCTRL - 56113120 + 64023888 dialog-control-document textctrl 0 1 0 - 56080240 + 63943232 0 21/6/2005 wbTextCtrlProxy @@ -7990,16 +8392,16 @@ a web address and can be found in your browsers address bar. - + Spacer - 56114688 + 64048304 dialog-control-document spacer 0 1 0 - 56008464 + 63923936 0 21/6/2005 wbSpacerProxy @@ -8018,16 +8420,16 @@ a web address and can be found in your browsers address bar. FALSE <Any platform> - + wxStaticText: wxID_STATIC - 56138496 + 64055360 dialog-control-document statictext 0 1 0 - 56008464 + 63923936 0 21/6/2005 wbStaticTextProxy @@ -8076,16 +8478,16 @@ go to: - + wxHyperLink: ID_PROJECRINFOBOINCLINK - 56132112 + 64072672 dialog-control-document foreign 0 1 0 - 56008464 + 63923936 0 21/6/2005 wbCustomCtrlProxy:wxHyperLink @@ -8138,16 +8540,811 @@ go to: - - wxWizardPage: ID_ACCOUNTINFOPAGE - 56179312 + + wxWizardPage: ID_PROJECTPROPERTIESPAGE + 64067184 dialog-control-document panel 0 1 0 - 55873696 + 63681856 + 0 + 27/6/2005 + wbWizardPageProxy + wxEVT_WIZARD_PAGE_CHANGED|OnProjectpropertiespagePageChanged + ID_PROJECTPROPERTIESPAGE + 10017 + CProjectPropertiesPage + wxWizardPage + m_ProjectPropertiesPage + + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + TRUE + FALSE + + TRUE + -1 + -1 + + + + wxBoxSizer V + 64097248 + dialog-control-document + + sizer + 0 + 1 + 0 + 64067184 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 64102464 + dialog-control-document + + statictext + 0 + 1 + 0 + 64097248 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Project Properties + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 64103968 + dialog-control-document + + statictext + 0 + 1 + 0 + 64097248 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + This wizard is now attempting to retrieve the project’s account +creation policies. + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 64146208 + dialog-control-document + + spacer + 0 + 1 + 0 + 64097248 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + + wxStaticText: wxID_STATIC + 64153216 + dialog-control-document + + statictext + 0 + 1 + 0 + 64097248 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + If this wizard cannot reach the project server, it'll attempt to contact a +couple known good websites in an effort to help diagnose the problem. + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxFlexGridSizer + 64168816 + dialog-control-document + + sizer + 0 + 1 + 0 + 64097248 + 0 + 27/6/2005 + wbFlexGridSizerProxy + + + 2 + 0 + 0 + 0 + + <Any platform> + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + wxStaticBitmap: ID_RETRPROJECTPROPERTIESIMAGECTRL + 64181344 + dialog-control-document + + staticbitmap + 0 + 1 + 0 + 64168816 + 0 + 27/6/2005 + wbStaticBitmapProxy + ID_RETRPROJECTPROPERTIESIMAGECTRL + 10018 + wxStaticBitmap + m_RetrProjectPropertiesImageCtrl + res/wizquestion.xpm + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + 16 + 16 + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxStaticText: ID_RETRPROJECTPROPERTIESCTRL + 64197488 + dialog-control-document + + statictext + 0 + 1 + 0 + 64168816 + 0 + 27/6/2005 + wbStaticTextProxy + ID_RETRPROJECTPROPERTIESCTRL + 10019 + wxStaticText + m_RetrProjectPropertiesCtrl + Retrieving project account creation policy + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticBitmap: ID_COMMYAHOOIMAGECTRL + 64192960 + dialog-control-document + + staticbitmap + 0 + 1 + 0 + 64168816 + 0 + 27/6/2005 + wbStaticBitmapProxy + ID_COMMYAHOOIMAGECTRL + 10010 + wxStaticBitmap + m_CommYahooImageCtrl + res/wizsuccess.xpm + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + 16 + 16 + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxStaticText: ID_COMMYAHOOCTRL + 64236992 + dialog-control-document + + statictext + 0 + 1 + 0 + 64168816 + 0 + 27/6/2005 + wbStaticTextProxy + ID_COMMYAHOOCTRL + 10011 + wxStaticText + m_CommYahooCtrl + Communicating with Yahoo + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticBitmap: ID_COMMGOOGLEIMAGECTRL + 64231104 + dialog-control-document + + staticbitmap + 0 + 1 + 0 + 64168816 + 0 + 27/6/2005 + wbStaticBitmapProxy + ID_COMMGOOGLEIMAGECTRL + 10012 + wxStaticBitmap + m_CommGoogleImageCtrl + res/wizfailure.xpm + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + 16 + 16 + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxStaticText: ID_COMMGOOGLECTRL + 64262160 + dialog-control-document + + statictext + 0 + 1 + 0 + 64168816 + 0 + 27/6/2005 + wbStaticTextProxy + ID_COMMGOOGLECTRL + 10013 + wxStaticText + m_CommGoogleCtrl + Communicating with Google + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticBitmap: ID_DETERMINECONNECTIONSTATUSIMAGECTRL + 64263776 + dialog-control-document + + staticbitmap + 0 + 1 + 0 + 64168816 + 0 + 27/6/2005 + wbStaticBitmapProxy + ID_DETERMINECONNECTIONSTATUSIMAGECTRL + 10014 + wxStaticBitmap + m_DetermineConnectionStatusImageCtrl + res/wizquestion.xpm + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + 16 + 16 + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxStaticText: ID_DETERMINECONNECTIONSTATUSCTRL + 64300576 + dialog-control-document + + statictext + 0 + 1 + 0 + 64168816 + 0 + 27/6/2005 + wbStaticTextProxy + ID_DETERMINECONNECTIONSTATUSCTRL + 10015 + wxStaticText + m_DetermineConnectionStatusCtrl + Determining connection status + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + + wxStaticText: ID_STATICTEXT4 + 64295008 + dialog-control-document + + statictext + 0 + 1 + 0 + 64097248 + 0 + 27/6/2005 + wbStaticTextProxy + ID_STATICTEXT4 + 10026 + wxStaticText + m_FinalAccountCreationStatusCtrl + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + + + wxWizardPage: ID_ACCOUNTINFOPAGE + 64332656 + dialog-control-document + + panel + 0 + 1 + 0 + 63681856 0 21/6/2005 wbWizardPageProxy @@ -8185,16 +9382,16 @@ go to: -1 - + wxBoxSizer V - 56189504 + 64350944 dialog-control-document sizer 0 1 0 - 56179312 + 64332656 0 21/6/2005 wbBoxSizerProxy @@ -8212,16 +9409,16 @@ go to: FALSE FALSE <Any platform> - + wxStaticText: wxID_STATIC - 56139200 + 64097616 dialog-control-document statictext 0 1 0 - 56189504 + 64350944 0 21/6/2005 wbStaticTextProxy @@ -8269,16 +9466,16 @@ go to: - + wxStaticText: wxID_STATIC - 56214256 + 64376032 dialog-control-document statictext 0 1 0 - 56189504 + 64350944 0 21/6/2005 wbStaticTextProxy @@ -8326,16 +9523,16 @@ go to: - + Spacer - 56235616 + 64369184 dialog-control-document spacer 0 1 0 - 56189504 + 64350944 0 21/6/2005 wbSpacerProxy @@ -8354,16 +9551,16 @@ go to: FALSE <Any platform> - + wxStaticText: wxID_STATIC - 56242640 + 64394592 dialog-control-document statictext 0 1 0 - 56189504 + 64350944 0 21/6/2005 wbStaticTextProxy @@ -8414,16 +9611,16 @@ project. - + wxFlexGridSizer - 56216880 + 64390624 dialog-control-document sizer 0 1 0 - 56189504 + 64350944 0 21/6/2005 wbFlexGridSizerProxy @@ -8446,16 +9643,16 @@ project. FALSE FALSE FALSE - + wxRadioButton: ID_ACCOUNTCREATECTRL - 56269072 + 64424720 dialog-control-document radiobutton 0 1 0 - 56216880 + 64390624 0 21/6/2005 wbRadioButtonProxy @@ -8497,16 +9694,16 @@ project. - + wxRadioButton: ID_ACCOUNTUSEEXISTINGCTRL - 56286144 + 64439472 dialog-control-document radiobutton 0 1 0 - 56216880 + 64390624 0 21/6/2005 wbRadioButtonProxy @@ -8549,16 +9746,16 @@ project. - + wxFlexGridSizer - 56300800 + 64462064 dialog-control-document sizer 0 1 0 - 56189504 + 64350944 0 21/6/2005 wbFlexGridSizerProxy @@ -8581,16 +9778,16 @@ project. FALSE FALSE FALSE - + wxStaticText: ID_ACCOUNTEMAILADDRESSSTATICCTRL - 56312656 + 64473888 dialog-control-document statictext 0 1 0 - 56300800 + 64462064 0 21/6/2005 wbStaticTextProxy @@ -8638,16 +9835,16 @@ project. - + wxTextCtrl: ID_ACCOUNTEMAILADDRESSCTRL - 56307984 + 64440144 dialog-control-document textctrl 0 1 0 - 56300800 + 64462064 0 21/6/2005 wbTextCtrlProxy @@ -8706,16 +9903,16 @@ project. - + wxStaticText: ID_ACCOUNTPASSWORDSTATICCTRL - 56356128 + 64511328 dialog-control-document statictext 0 1 0 - 56300800 + 64462064 0 21/6/2005 wbStaticTextProxy @@ -8763,16 +9960,16 @@ project. - + wxTextCtrl: ID_ACCOUNTPASSWORDCTRL - 56369392 + 64532080 dialog-control-document textctrl 0 1 0 - 56300800 + 64462064 0 21/6/2005 wbTextCtrlProxy @@ -8831,16 +10028,16 @@ project. - + wxStaticText: ID_ACCOUNTCONFIRMPASSWORDSTATICCTRL - 56365616 + 64524784 dialog-control-document statictext 0 1 0 - 56300800 + 64462064 0 21/6/2005 wbStaticTextProxy @@ -8888,16 +10085,16 @@ project. - + wxTextCtrl: ID_ACCOUNTCONFIRMPASSWORDCTRL - 56418064 + 64566112 dialog-control-document textctrl 0 1 0 - 56300800 + 64462064 0 21/6/2005 wbTextCtrlProxy @@ -8959,22 +10156,22 @@ project. - + wxWizardPage: ID_ACCOUNTCREATIONPAGE - 56435360 + 64591072 dialog-control-document panel 0 1 0 - 55873696 + 63681856 0 - 24/6/2005 + 27/6/2005 wbWizardPageProxy wxEVT_WIZARD_PAGE_CHANGED|OnPageChanged ID_ACCOUNTCREATIONPAGE - 10047 + 10017 CAccountCreationPage wxWizardPage m_AccountCreationPage @@ -9002,18 +10199,18 @@ project. -1 - + wxBoxSizer V - 56453664 + 64609408 dialog-control-document sizer 0 1 0 - 56435360 + 64591072 0 - 25/6/2005 + 27/6/2005 wbBoxSizerProxy Vertical @@ -9029,18 +10226,18 @@ project. FALSE FALSE <Any platform> - + wxStaticText: wxID_STATIC - 56172592 + 64614416 dialog-control-document statictext 0 1 0 - 56453664 + 64609408 0 - 25/6/2005 + 27/6/2005 wbStaticTextProxy wxID_STATIC 5105 @@ -9086,18 +10283,18 @@ project. - + wxStaticText: wxID_STATIC - 56474240 + 64623216 dialog-control-document statictext 0 1 0 - 56453664 + 64609408 0 - 25/6/2005 + 27/6/2005 wbStaticTextProxy wxID_STATIC 5105 @@ -9144,18 +10341,18 @@ existing account. - + Spacer - 56469808 + 64618832 dialog-control-document spacer 0 1 0 - 56453664 + 64609408 0 - 25/6/2005 + 27/6/2005 wbSpacerProxy 5 5 @@ -9172,18 +10369,18 @@ existing account. FALSE <Any platform> - + wxStaticText: wxID_STATIC - 56494144 + 64615744 dialog-control-document statictext 0 1 0 - 56453664 + 64609408 0 - 25/6/2005 + 27/6/2005 wbStaticTextProxy wxID_STATIC 5105 @@ -9230,18 +10427,18 @@ couple known good websites in an effort to help diagnose the problem. - + wxFlexGridSizer - 56516304 + 64671152 dialog-control-document sizer 0 1 0 - 56453664 + 64609408 0 - 25/6/2005 + 27/6/2005 wbFlexGridSizerProxy @@ -9262,21 +10459,21 @@ couple known good websites in an effort to help diagnose the problem. FALSE FALSE FALSE - + wxStaticBitmap: ID_COMMBOINCPROJECTIMAGECTRL - 56520720 + 64683728 dialog-control-document staticbitmap 0 1 0 - 56516304 + 64671152 0 - 25/6/2005 + 27/6/2005 wbStaticBitmapProxy ID_COMMBOINCPROJECTIMAGECTRL - 10052 + 10008 wxStaticBitmap m_CommBOINCProjectImageCtrl res/wizquestion.xpm @@ -9313,21 +10510,21 @@ couple known good websites in an effort to help diagnose the problem. - + wxStaticText: ID_COMMBOINCPROJECTCTRL - 56544000 + 64699840 dialog-control-document statictext 0 1 0 - 56516304 + 64671152 0 - 25/6/2005 + 27/6/2005 wbStaticTextProxy ID_COMMBOINCPROJECTCTRL - 10053 + 10009 wxStaticText m_CommBOINCProjectCtrl Communicating with BOINC project @@ -9370,346 +10567,22 @@ couple known good websites in an effort to help diagnose the problem. - - wxStaticBitmap: ID_COMMYAHOOIMAGECTRL - 56539568 - dialog-control-document - - staticbitmap - 0 - 1 - 0 - 56516304 - 0 - 25/6/2005 - wbStaticBitmapProxy - ID_COMMYAHOOIMAGECTRL - 10054 - wxStaticBitmap - m_CommYahooImageCtrl - res/wizsuccess.xpm - - - - - - FALSE - <Any platform> - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - - -1 - -1 - 16 - 16 - Centre - Centre - 0 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - FALSE - FALSE - - - - - wxStaticText: ID_COMMYAHOOCTRL - 56576096 - dialog-control-document - - statictext - 0 - 1 - 0 - 56516304 - 0 - 25/6/2005 - wbStaticTextProxy - ID_COMMYAHOOCTRL - 10053 - wxStaticText - m_CommYahooCtrl - Communicating with Yahoo - - - - - - FALSE - <Any platform> - - - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - - -1 - -1 - -1 - -1 - Left - Centre - 0 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - TRUE - FALSE - - - - - wxStaticBitmap: ID_COMMGOOGLEIMAGECTRL - 56596240 - dialog-control-document - - staticbitmap - 0 - 1 - 0 - 56516304 - 0 - 25/6/2005 - wbStaticBitmapProxy - ID_COMMGOOGLEIMAGECTRL - 10055 - wxStaticBitmap - m_CommGoogleImageCtrl - res/wizfailure.xpm - - - - - - FALSE - <Any platform> - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - - -1 - -1 - 16 - 16 - Centre - Centre - 0 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - FALSE - FALSE - - - - - wxStaticText: ID_COMMGOOGLECTRL - 56612688 - dialog-control-document - - statictext - 0 - 1 - 0 - 56516304 - 0 - 25/6/2005 - wbStaticTextProxy - ID_COMMGOOGLECTRL - 10056 - wxStaticText - m_CommGoogleCtrl - Communicating with Google - - - - - - FALSE - <Any platform> - - - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - - -1 - -1 - -1 - -1 - Left - Centre - 0 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - TRUE - FALSE - - - - - wxStaticBitmap: ID_DETERMINECONNECTIONSTATUSIMAGECTRL - 56627968 - dialog-control-document - - staticbitmap - 0 - 1 - 0 - 56516304 - 0 - 25/6/2005 - wbStaticBitmapProxy - ID_DETERMINECONNECTIONSTATUSIMAGECTRL - 10057 - wxStaticBitmap - m_DetermineConnectionStatusImageCtrl - res/wizquestion.xpm - - - - - - FALSE - <Any platform> - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - - -1 - -1 - 16 - 16 - Centre - Centre - 0 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - FALSE - FALSE - - - - - wxStaticText: ID_DETERMINECONNECTIONSTATUSCTRL - 56644464 - dialog-control-document - - statictext - 0 - 1 - 0 - 56516304 - 0 - 25/6/2005 - wbStaticTextProxy - ID_DETERMINECONNECTIONSTATUSCTRL - 10058 - wxStaticText - m_DetermineConnectionStatusCtrl - Determining connection status - - - - - - FALSE - <Any platform> - - - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - - -1 - -1 - -1 - -1 - Left - Centre - 0 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - TRUE - FALSE - - - - + wxStaticText: ID_FINALACCOUNTCREATIONSTATUSCTRL - 56666816 + 64693568 dialog-control-document statictext 0 1 0 - 56453664 + 64609408 0 - 25/6/2005 + 27/6/2005 wbStaticTextProxy ID_FINALACCOUNTCREATIONSTATUSCTRL - 10059 + 10016 wxStaticText m_FinalAccountCreationStatusCtrl @@ -9754,16 +10627,16 @@ couple known good websites in an effort to help diagnose the problem. - + wxWizardPage: ID_COMPLETIONPAGE - 56661408 + 64731504 dialog-control-document panel 0 1 0 - 55873696 + 63681856 0 24/6/2005 wbWizardPageProxy @@ -9796,17 +10669,187 @@ couple known good websites in an effort to help diagnose the problem. -1 + + wxBoxSizer V + 64741760 + dialog-control-document + + sizer + 0 + 1 + 0 + 64731504 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 64694256 + dialog-control-document + + statictext + 0 + 1 + 0 + 64741760 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Wizard Completion + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 64766448 + dialog-control-document + + statictext + 0 + 1 + 0 + 64741760 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Congratulations + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 64789712 + dialog-control-document + + spacer + 0 + 1 + 0 + 64741760 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + - + wxWizardPage: ID_ERRPROJECTUNAVAILABLEPAGE - 56623136 + 64798032 dialog-control-document panel 0 1 0 - 55873696 + 63681856 0 24/6/2005 wbWizardPageProxy @@ -9839,17 +10882,187 @@ couple known good websites in an effort to help diagnose the problem. -1 + + wxBoxSizer V + 64808304 + dialog-control-document + + sizer + 0 + 1 + 0 + 64798032 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 64742032 + dialog-control-document + + statictext + 0 + 1 + 0 + 64808304 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Project Temporarily Unavailable + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 64833056 + dialog-control-document + + statictext + 0 + 1 + 0 + 64808304 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + The project may be down for maintenance. + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 64855280 + dialog-control-document + + spacer + 0 + 1 + 0 + 64808304 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + - + wxWizardPage: ID_ERRNOINTERNETCONNECTIONPAGE - 56700624 + 64863600 dialog-control-document panel 0 1 0 - 55873696 + 63681856 0 24/6/2005 wbWizardPageProxy @@ -9882,17 +11095,188 @@ couple known good websites in an effort to help diagnose the problem. -1 + + wxBoxSizer V + 64873840 + dialog-control-document + + sizer + 0 + 1 + 0 + 64863600 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 64835344 + dialog-control-document + + statictext + 0 + 1 + 0 + 64873840 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + No Internet Connection Detected + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 64900320 + dialog-control-document + + statictext + 0 + 1 + 0 + 64873840 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Could not communicate with the desired project or any of the known +computers on the Internet. + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 64893472 + dialog-control-document + + spacer + 0 + 1 + 0 + 64873840 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + - + wxWizardPage: ID_ERRACCOUNTALREADYEXISTSPAGE - 56712608 + 64919072 dialog-control-document panel 0 1 0 - 55873696 + 63681856 0 24/6/2005 wbWizardPageProxy @@ -9925,267 +11309,2583 @@ couple known good websites in an effort to help diagnose the problem. -1 + + wxBoxSizer V + 64937456 + dialog-control-document + + sizer + 0 + 1 + 0 + 64919072 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 64942448 + dialog-control-document + + statictext + 0 + 1 + 0 + 64937456 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Account Already Exists + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 64966416 + dialog-control-document + + statictext + 0 + 1 + 0 + 64937456 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + The requested account is already in use. + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 64958640 + dialog-control-document + + spacer + 0 + 1 + 0 + 64937456 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + + + + wxWizardPage: ID_ERRPROXYINFOPAGE + 64984608 + dialog-control-document + + panel + 0 + 1 + 0 + 63681856 + 0 + 27/6/2005 + wbWizardPageProxy + ID_ERRPROXYINFOPAGE + 10060 + CErrProxyInfoPage + wxWizardPage + m_ErrProxyInfoPage + + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + TRUE + FALSE + + TRUE + -1 + -1 + + + + wxBoxSizer V + 65002992 + dialog-control-document + + sizer + 0 + 1 + 0 + 64984608 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 65007984 + dialog-control-document + + statictext + 0 + 1 + 0 + 65002992 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Proxy Configuration + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 65031392 + dialog-control-document + + statictext + 0 + 1 + 0 + 65002992 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Do you need to configure a proxy server? + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 65024544 + dialog-control-document + + spacer + 0 + 1 + 0 + 65002992 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + + + + wxWizardPage: ID_ERRPROXYHTTPPAGE + 65049984 + dialog-control-document + + panel + 0 + 1 + 0 + 63681856 + 0 + 27/6/2005 + wbWizardPageProxy + ID_ERRPROXYHTTPPAGE + 10061 + CErrProxyHTTPPage + wxWizardPage + m_ErrProxyHTTPPage + + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + TRUE + FALSE + + TRUE + -1 + -1 + + + + wxBoxSizer V + 65068368 + dialog-control-document + + sizer + 0 + 1 + 0 + 65049984 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 65073360 + dialog-control-document + + statictext + 0 + 1 + 0 + 65068368 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Proxy Configuration - HTTP Proxy + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 65097152 + dialog-control-document + + statictext + 0 + 1 + 0 + 65068368 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Do you need to configure a proxy server? + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 65090496 + dialog-control-document + + spacer + 0 + 1 + 0 + 65068368 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + + Spacer + 65116512 + dialog-control-document + + spacer + 0 + 1 + 0 + 65068368 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + + wxButton: ID_HTTPAUTODETECT + 65124192 + dialog-control-document + + dialogcontrol + 0 + 1 + 0 + 65068368 + 0 + 27/6/2005 + wbButtonProxy + wxEVT_COMMAND_BUTTON_CLICKED|OnAutodetectClick + ID_HTTPAUTODETECT + 10064 + wxButton + + Autodetect + FALSE + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxFlexGridSizer + 65125728 + dialog-control-document + + sizer + 0 + 1 + 0 + 65068368 + 0 + 27/6/2005 + wbFlexGridSizerProxy + 1 + + 2 + 3 + 0 + 0 + + <Any platform> + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + wxStaticText: wxID_STATIC + 65154496 + dialog-control-document + + statictext + 0 + 1 + 0 + 65125728 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Server: + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxFlexGridSizer + 65149840 + dialog-control-document + + sizer + 0 + 1 + 0 + 65125728 + 0 + 27/6/2005 + wbFlexGridSizerProxy + 0 + + 3 + 1 + 0 + 0 + + <Any platform> + Expand + Centre + 0 + 0 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + wxTextCtrl: ID_TEXTCTRL + 65181504 + dialog-control-document + + textctrl + 0 + 1 + 0 + 65149840 + 0 + 27/6/2005 + wbTextCtrlProxy + ID_TEXTCTRL + 10000 + wxTextCtrl + + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxStaticText: wxID_STATIC + 65175968 + dialog-control-document + + statictext + 0 + 1 + 0 + 65149840 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Port: + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxTextCtrl: ID_TEXTCTRL1 + 65225792 + dialog-control-document + + textctrl + 0 + 1 + 0 + 65149840 + 0 + 27/6/2005 + wbTextCtrlProxy + ID_TEXTCTRL1 + 10001 + wxTextCtrl + + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + 50 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + + wxStaticText: wxID_STATIC + 65251744 + dialog-control-document + + statictext + 0 + 1 + 0 + 65125728 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + User Name: + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxTextCtrl: ID_TEXTCTRL2 + 65245392 + dialog-control-document + + textctrl + 0 + 1 + 0 + 65125728 + 0 + 27/6/2005 + wbTextCtrlProxy + ID_TEXTCTRL2 + 10066 + wxTextCtrl + + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxStaticText: wxID_STATIC + 65288320 + dialog-control-document + + statictext + 0 + 1 + 0 + 65125728 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Password: + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxTextCtrl: ID_TEXTCTRL3 + 65252112 + dialog-control-document + + textctrl + 0 + 1 + 0 + 65125728 + 0 + 27/6/2005 + wbTextCtrlProxy + ID_TEXTCTRL3 + 10067 + wxTextCtrl + + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + + + + wxWizardPage: ID_ERRPROXYSOCKSPAGE + 65330928 + dialog-control-document + + panel + 0 + 1 + 0 + 63681856 + 0 + 27/6/2005 + wbWizardPageProxy + ID_ERRPROXYSOCKSPAGE + 10062 + CErrProxySOCKSPage + wxWizardPage + m_ErrProxySOCKSPage + + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + TRUE + FALSE + + TRUE + -1 + -1 + + + + wxBoxSizer V + 65051104 + dialog-control-document + + sizer + 0 + 1 + 0 + 65330928 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 65340736 + dialog-control-document + + statictext + 0 + 1 + 0 + 65051104 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Proxy Configuration - SOCKS Proxy + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 65361744 + dialog-control-document + + statictext + 0 + 1 + 0 + 65051104 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Do you need to configure a proxy server? + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 65382128 + dialog-control-document + + spacer + 0 + 1 + 0 + 65051104 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + + Spacer + 65391344 + dialog-control-document + + spacer + 0 + 1 + 0 + 65051104 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + + wxButton: ID_SOCKSAUTODETECT + 65399088 + dialog-control-document + + dialogcontrol + 0 + 1 + 0 + 65051104 + 0 + 27/6/2005 + wbButtonProxy + wxEVT_COMMAND_BUTTON_CLICKED|OnAutodetectClick + ID_SOCKSAUTODETECT + 10006 + wxButton + + Autodetect + FALSE + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxFlexGridSizer + 65409856 + dialog-control-document + + sizer + 0 + 1 + 0 + 65051104 + 0 + 27/6/2005 + wbFlexGridSizerProxy + 1 + + 2 + 3 + 0 + 0 + + <Any platform> + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + wxStaticText: wxID_STATIC + 65421712 + dialog-control-document + + statictext + 0 + 1 + 0 + 65409856 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Server: + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxFlexGridSizer + 65444816 + dialog-control-document + + sizer + 0 + 1 + 0 + 65409856 + 0 + 27/6/2005 + wbFlexGridSizerProxy + 0 + + 3 + 1 + 0 + 0 + + <Any platform> + Expand + Centre + 0 + 0 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + wxTextCtrl: ID_TEXTCTRL4 + 65456192 + dialog-control-document + + textctrl + 0 + 1 + 0 + 65444816 + 0 + 27/6/2005 + wbTextCtrlProxy + ID_TEXTCTRL4 + 10002 + wxTextCtrl + + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxStaticText: wxID_STATIC + 65481600 + dialog-control-document + + statictext + 0 + 1 + 0 + 65444816 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Port: + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxTextCtrl: ID_TEXTCTRL5 + 65495696 + dialog-control-document + + textctrl + 0 + 1 + 0 + 65444816 + 0 + 27/6/2005 + wbTextCtrlProxy + ID_TEXTCTRL5 + 10003 + wxTextCtrl + + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + 50 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + + wxStaticText: wxID_STATIC + 65516144 + dialog-control-document + + statictext + 0 + 1 + 0 + 65409856 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + User Name: + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxTextCtrl: ID_TEXTCTRL6 + 65475648 + dialog-control-document + + textctrl + 0 + 1 + 0 + 65409856 + 0 + 27/6/2005 + wbTextCtrlProxy + ID_TEXTCTRL6 + 10004 + wxTextCtrl + + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + wxStaticText: wxID_STATIC + 65559904 + dialog-control-document + + statictext + 0 + 1 + 0 + 65409856 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Password: + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Right + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxTextCtrl: ID_TEXTCTRL7 + 65580656 + dialog-control-document + + textctrl + 0 + 1 + 0 + 65409856 + 0 + 27/6/2005 + wbTextCtrlProxy + ID_TEXTCTRL7 + 10005 + wxTextCtrl + + + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + TRUE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + + + + + + + + wxWizardPage: ID_ERRPROXYCOMPLETIONPAGE + 65574624 + dialog-control-document + + panel + 0 + 1 + 0 + 63681856 + 0 + 27/6/2005 + wbWizardPageProxy + ID_ERRPROXYCOMPLETIONPAGE + 10063 + CErrProxyComplationPage + wxWizardPage + m_ErrProxyCompletionPage + + + + + + + FALSE + <Any platform> + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + TRUE + FALSE + + TRUE + -1 + -1 + + + + wxBoxSizer V + 65554576 + dialog-control-document + + sizer + 0 + 1 + 0 + 65574624 + 0 + 27/6/2005 + wbBoxSizerProxy + Vertical + + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + wxStaticText: wxID_STATIC + 65612384 + dialog-control-document + + statictext + 0 + 1 + 0 + 65554576 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Proxy Configuration Completion + + + + + 10, wxSWISS, wxNORMAL, wxBOLD, false, Verdana + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + wxStaticText: wxID_STATIC + 65606080 + dialog-control-document + + statictext + 0 + 1 + 0 + 65554576 + 0 + 27/6/2005 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + Do you need to configure a proxy server? + + + + + + FALSE + <Any platform> + + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + TRUE + FALSE + + + + + Spacer + 65647792 + dialog-control-document + + spacer + 0 + 1 + 0 + 65554576 + 0 + 27/6/2005 + wbSpacerProxy + 5 + 5 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + FALSE + <Any platform> + + - + Images - 56722640 + 65649792 html-document bitmapsfolder 1 1 0 - 14694672 + 14636096 1 - + boincsm.xpm - 56721584 + 65648816 image-document res/boincsm.xpm image 0 0 0 - 56722640 + 65649792 0 1/3/2005 100 - + boinc.xpm - 56729456 + 65657104 image-document res/boinc.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + boinc_mac.xpm - 56729312 + 65656864 image-document res/boinc_mac.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + BOINCGUIApp.xpm - 56729104 + 65656688 image-document res/BOINCGUIApp.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + connect.xpm - 56728896 + 65656448 image-document res/connect.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + disconnect.xpm - 56728688 + 65656272 image-document res/disconnect.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + mess.xpm - 56728480 + 65656032 image-document res/mess.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + proj.xpm - 56728272 + 65655856 image-document res/proj.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + result.xpm - 56728016 + 65655616 image-document res/result.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + usage.xpm - 56727808 + 65655408 image-document res/usage.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + xfer.xpm - 56727600 + 65655200 image-document res/xfer.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + attachprojectwizard.xpm - 56727312 + 65654992 image-document res/attachprojectwizard.xpm image 0 0 0 - 56722640 + 65649792 0 21/6/2005 100 - + wizfailure.xpm - 56727056 + 65662832 image-document res/wizfailure.xpm image 0 0 0 - 56722640 + 65649792 0 25/6/2005 100 - + wizquestion.xpm - 56726848 + 65662688 image-document res/wizquestion.xpm image 0 0 0 - 56722640 + 65649792 0 25/6/2005 100 - + wizsuccess.xpm - 56726592 + 65662480 image-document res/wizsuccess.xpm image 0 0 0 - 56722640 + 65649792 0 25/6/2005 100 - + Sources - 56723472 + 65654832 html-document sourcesfolder 1 1 0 - 14694672 + 14636096 1 10/2/2005 - + ValidateAccountKey.cpp - 56726048 + 65661984 source-editor-document ValidateAccountKey.cpp source-editor 0 0 1 - 56723472 + 65654832 0 29/2/2005 - + ValidateURL.cpp - 56723168 + 65661776 source-editor-document ValidateURL.cpp source-editor 0 0 1 - 56723472 + 65654832 0 29/2/2005 diff --git a/clientgui/WizAttachProject.cpp b/clientgui/WizAttachProject.cpp index a3623218c4..e2aff9a38b 100644 --- a/clientgui/WizAttachProject.cpp +++ b/clientgui/WizAttachProject.cpp @@ -77,14 +77,21 @@ bool CWizAttachProject::Create( wxWindow* parent, wxWindowID id, const wxPoint& ////@begin CWizAttachProject member initialisation m_WelcomePage = NULL; m_ProjectInfoPage = NULL; + m_ProjectPropertiesPage = NULL; m_AccountInfoPage = NULL; m_AccountCreationPage = NULL; m_CompletionPage = NULL; m_ErrProjectUnavailablePage = NULL; m_ErrNoInternetConnectionPage = NULL; m_ErrAccountAlreadyExistsPage = NULL; + m_ErrProxyInfoPage = NULL; + m_ErrProxyHTTPPage = NULL; + m_ErrProxySOCKSPage = NULL; + m_ErrProxyCompletionPage = NULL; ////@end CWizAttachProject member initialisation + m_ulDiagFlags = 0; + ////@begin CWizAttachProject creation wxBitmap wizardBitmap(GetBitmapResource(wxT("res/attachprojectwizard.xpm"))); wxWizard::Create( parent, id, _("Attach to Project Wizard"), wizardBitmap, pos ); @@ -111,6 +118,10 @@ void CWizAttachProject::CreateControls() m_ProjectInfoPage->Create( itemWizard1 ); itemWizard1->FitToPage(m_ProjectInfoPage); + m_ProjectPropertiesPage = new CProjectPropertiesPage; + m_ProjectPropertiesPage->Create( itemWizard1 ); + + itemWizard1->FitToPage(m_ProjectPropertiesPage); m_AccountInfoPage = new CAccountInfoPage; m_AccountInfoPage->Create( itemWizard1 ); @@ -135,6 +146,22 @@ void CWizAttachProject::CreateControls() m_ErrAccountAlreadyExistsPage->Create( itemWizard1 ); itemWizard1->FitToPage(m_ErrAccountAlreadyExistsPage); + m_ErrProxyInfoPage = new CErrProxyInfoPage; + m_ErrProxyInfoPage->Create( itemWizard1 ); + + itemWizard1->FitToPage(m_ErrProxyInfoPage); + m_ErrProxyHTTPPage = new CErrProxyHTTPPage; + m_ErrProxyHTTPPage->Create( itemWizard1 ); + + itemWizard1->FitToPage(m_ErrProxyHTTPPage); + m_ErrProxySOCKSPage = new CErrProxySOCKSPage; + m_ErrProxySOCKSPage->Create( itemWizard1 ); + + itemWizard1->FitToPage(m_ErrProxySOCKSPage); + m_ErrProxyCompletionPage = new CErrProxyComplationPage; + m_ErrProxyCompletionPage->Create( itemWizard1 ); + + itemWizard1->FitToPage(m_ErrProxyCompletionPage); wxWizardPageSimple* lastPage = NULL; ////@end CWizAttachProject content construction } @@ -194,6 +221,48 @@ wxIcon CWizAttachProject::GetIconResource( const wxString& name ) ////@end CWizAttachProject icon retrieval } +/*! + * Determine if the wizard page has a next page + */ + +bool CWizAttachProject::HasNextPage( wxWizardPage* page ) +{ + if (page == m_CompletionPage) + return false; + return true; +} + +/*! + * Determine if the wizard page has a previous page + */ + +bool CWizAttachProject::HasPrevPage( wxWizardPage* page ) +{ + if (page == m_WelcomePage) + return false; + return true; +} + +/*! + * Set the diagnostics flags. + */ + +void CWizAttachProject::SetDiagFlags( unsigned long ulFlags ) +{ + m_ulDiagFlags = ulFlags; +} + +/*! + * Check the desired bitmask against our existing bitmask. + */ + +bool CWizAttachProject::IsDiagFlagsSet( unsigned long ulFlags ) +{ + if (ulFlags & m_ulDiagFlags) + return true; + return false; +} + void CWizAttachProject::OnWizardCancel( wxWizardEvent& event ) { if ( wxMessageBox( _("Do you really want to cancel?"), _("Question"), @@ -219,6 +288,8 @@ IMPLEMENT_DYNAMIC_CLASS( CWelcomePage, wxWizardPage ) BEGIN_EVENT_TABLE( CWelcomePage, wxWizardPage ) ////@begin CWelcomePage event table entries + EVT_WIZARD_PAGE_CHANGING( -1, CWelcomePage::OnPageChanging ) + ////@end CWelcomePage event table entries END_EVENT_TABLE() @@ -243,6 +314,13 @@ CWelcomePage::CWelcomePage( wxWizard* parent ) bool CWelcomePage::Create( wxWizard* parent ) { ////@begin CWelcomePage member initialisation + m_ErrProjectPropertiesCtrl = NULL; + m_ErrProjectCommCtrl = NULL; + m_ErrGoogleCommCtrl = NULL; + m_ErrProjectUnavailableCtrl = NULL; + m_ErrYahooCommCtrl = NULL; + m_ErrAccountAlreadyExistsCtrl = NULL; + m_ErrNetDetectionCtrl = NULL; ////@end CWelcomePage member initialisation ////@begin CWelcomePage creation @@ -282,11 +360,53 @@ void CWelcomePage::CreateControls() itemStaticText7->Create( itemWizardPage2, wxID_STATIC, _("This wizard will require access to the Internet in order to attach to\na project using an existing account or creating a new one."), wxDefaultPosition, wxDefaultSize, 0 ); itemBoxSizer3->Add(itemStaticText7, 0, wxALIGN_LEFT|wxALL, 5); - itemBoxSizer3->Add(5, 125, 0, wxALIGN_LEFT|wxALL|wxFIXED_MINSIZE, 5); + wxStaticBox* itemStaticBoxSizer8Static = new wxStaticBox(itemWizardPage2, wxID_ANY, _("Debug Flags")); + wxStaticBoxSizer* itemStaticBoxSizer8 = new wxStaticBoxSizer(itemStaticBoxSizer8Static, wxVERTICAL); + itemBoxSizer3->Add(itemStaticBoxSizer8, 0, wxGROW|wxALL, 5); - wxStaticText* itemStaticText9 = new wxStaticText; - itemStaticText9->Create( itemWizardPage2, wxID_STATIC, _("To continue, click Next."), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer3->Add(itemStaticText9, 0, wxALIGN_LEFT|wxALL, 5); + wxFlexGridSizer* itemFlexGridSizer9 = new wxFlexGridSizer(-1, 2, 0, 0); + itemFlexGridSizer9->AddGrowableCol(0); + itemFlexGridSizer9->AddGrowableCol(1); + itemStaticBoxSizer8->Add(itemFlexGridSizer9, 0, wxGROW|wxALL, 5); + + m_ErrProjectPropertiesCtrl = new wxCheckBox; + m_ErrProjectPropertiesCtrl->Create( itemWizardPage2, ID_ERRPROJECTPROPERTIES, _("Project Properties Failure"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE ); + m_ErrProjectPropertiesCtrl->SetValue(FALSE); + itemFlexGridSizer9->Add(m_ErrProjectPropertiesCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_ErrProjectCommCtrl = new wxCheckBox; + m_ErrProjectCommCtrl->Create( itemWizardPage2, ID_ERRPROJECTCOMM, _("Project Comm Failure"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE ); + m_ErrProjectCommCtrl->SetValue(FALSE); + itemFlexGridSizer9->Add(m_ErrProjectCommCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_ErrGoogleCommCtrl = new wxCheckBox; + m_ErrGoogleCommCtrl->Create( itemWizardPage2, ID_ERRGOOGLECOMM, _("Google Comm Failure"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE ); + m_ErrGoogleCommCtrl->SetValue(FALSE); + itemFlexGridSizer9->Add(m_ErrGoogleCommCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_ErrProjectUnavailableCtrl = new wxCheckBox; + m_ErrProjectUnavailableCtrl->Create( itemWizardPage2, ID_ERRPROJECTUNAVAILABLE, _("Project Unavailable"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE ); + m_ErrProjectUnavailableCtrl->SetValue(FALSE); + itemFlexGridSizer9->Add(m_ErrProjectUnavailableCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_ErrYahooCommCtrl = new wxCheckBox; + m_ErrYahooCommCtrl->Create( itemWizardPage2, ID_ERRYAHOOCOMM, _("Yahoo Comm Failure"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE ); + m_ErrYahooCommCtrl->SetValue(FALSE); + itemFlexGridSizer9->Add(m_ErrYahooCommCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_ErrAccountAlreadyExistsCtrl = new wxCheckBox; + m_ErrAccountAlreadyExistsCtrl->Create( itemWizardPage2, ID_ERRACCOUNTALREADYEXISTS, _("Account Already Exists"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE ); + m_ErrAccountAlreadyExistsCtrl->SetValue(FALSE); + itemFlexGridSizer9->Add(m_ErrAccountAlreadyExistsCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_ErrNetDetectionCtrl = new wxCheckBox; + m_ErrNetDetectionCtrl->Create( itemWizardPage2, ID_ERRNETDETECTION, _("Net Detection Failure"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE ); + m_ErrNetDetectionCtrl->SetValue(FALSE); + itemFlexGridSizer9->Add(m_ErrNetDetectionCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxStaticText* itemStaticText17 = new wxStaticText; + itemStaticText17->Create( itemWizardPage2, wxID_STATIC, _("To continue, click Next."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer3->Add(itemStaticText17, 0, wxALIGN_LEFT|wxALL, 5); ////@end CWelcomePage content construction } @@ -297,7 +417,6 @@ void CWelcomePage::CreateControls() wxWizardPage* CWelcomePage::GetPrev() const { - // TODO: return the previous page return NULL; } @@ -307,7 +426,6 @@ wxWizardPage* CWelcomePage::GetPrev() const wxWizardPage* CWelcomePage::GetNext() const { - // TODO: return the next page return ((CWizAttachProject*)GetParent())->m_ProjectInfoPage; } @@ -349,6 +467,41 @@ wxIcon CWelcomePage::GetIconResource( const wxString& name ) ////@end CWelcomePage icon retrieval } +/*! + * wxEVT_WIZARD_PAGE_CHANGING event handler for ID_WELCOMEPAGE + */ + +void CWelcomePage::OnPageChanging( wxWizardEvent& event ) +{ + if (event.GetDirection() == false) return; + + unsigned long ulFlags = 0; + + if (m_ErrProjectPropertiesCtrl->GetValue()) + ulFlags |= WIZDEBUG_ERRPROJECTPROPERTIES; + + if (m_ErrProjectCommCtrl->GetValue()) + ulFlags |= WIZDEBUG_ERRPROJECTCOMM; + + if (m_ErrGoogleCommCtrl->GetValue()) + ulFlags |= WIZDEBUG_ERRGOOGLECOMM; + + if (m_ErrProjectUnavailableCtrl->GetValue()) + ulFlags |= WIZDEBUG_ERRPROJECTUNAVAILABLE; + + if (m_ErrYahooCommCtrl->GetValue()) + ulFlags |= WIZDEBUG_ERRYAHOOCOMM; + + if (m_ErrAccountAlreadyExistsCtrl->GetValue()) + ulFlags |= WIZDEBUG_ERRACCOUNTALREADYEXISTS; + + if (m_ErrNetDetectionCtrl->GetValue()) + ulFlags |= WIZDEBUG_ERRNETDETECTION; + + ((CWizAttachProject*)GetParent())->SetDiagFlags( ulFlags ); +} + + /*! * CProjectInfoPage type definition */ @@ -407,47 +560,47 @@ bool CProjectInfoPage::Create( wxWizard* parent ) void CProjectInfoPage::CreateControls() { ////@begin CProjectInfoPage content construction - CProjectInfoPage* itemWizardPage10 = this; + CProjectInfoPage* itemWizardPage18 = this; - wxBoxSizer* itemBoxSizer11 = new wxBoxSizer(wxVERTICAL); - itemWizardPage10->SetSizer(itemBoxSizer11); - - wxStaticText* itemStaticText12 = new wxStaticText; - itemStaticText12->Create( itemWizardPage10, wxID_STATIC, _("Project Information"), wxDefaultPosition, wxDefaultSize, 0 ); - itemStaticText12->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); - itemBoxSizer11->Add(itemStaticText12, 0, wxALIGN_LEFT|wxALL, 5); - - wxStaticText* itemStaticText13 = new wxStaticText; - itemStaticText13->Create( itemWizardPage10, wxID_STATIC, _("Which project do you wish to attach to?"), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer11->Add(itemStaticText13, 0, wxALIGN_LEFT|wxALL, 5); - - itemBoxSizer11->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); - - wxStaticText* itemStaticText15 = new wxStaticText; - itemStaticText15->Create( itemWizardPage10, wxID_STATIC, _("The project URL is generally the project's homepage. It is in the form of\na web address and can be found in your browsers address bar."), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer11->Add(itemStaticText15, 0, wxALIGN_LEFT|wxALL, 5); - - wxFlexGridSizer* itemFlexGridSizer16 = new wxFlexGridSizer(1, 2, 0, 0); - itemFlexGridSizer16->AddGrowableCol(1); - itemBoxSizer11->Add(itemFlexGridSizer16, 0, wxALIGN_LEFT|wxALL, 5); - - m_ProjectUrlStaticCtrl = new wxStaticText; - m_ProjectUrlStaticCtrl->Create( itemWizardPage10, ID_PROJECTURLSTATICCTRL, _("Project URL:"), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer16->Add(m_ProjectUrlStaticCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - m_ProjectUrlCtrl = new wxTextCtrl; - m_ProjectUrlCtrl->Create( itemWizardPage10, ID_PROJECTURLCTRL, _T(""), wxDefaultPosition, wxSize(250, -1), 0 ); - itemFlexGridSizer16->Add(m_ProjectUrlCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - itemBoxSizer11->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + wxBoxSizer* itemBoxSizer19 = new wxBoxSizer(wxVERTICAL); + itemWizardPage18->SetSizer(itemBoxSizer19); wxStaticText* itemStaticText20 = new wxStaticText; - itemStaticText20->Create( itemWizardPage10, wxID_STATIC, _("For more information, and to see a list of some BOINC-based projects,\ngo to:"), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer11->Add(itemStaticText20, 0, wxALIGN_LEFT|wxALL, 5); + itemStaticText20->Create( itemWizardPage18, wxID_STATIC, _("Project Information"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText20->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer19->Add(itemStaticText20, 0, wxALIGN_LEFT|wxALL, 5); - wxHyperLink* itemHyperLink21 = new wxHyperLink; - itemHyperLink21->Create( itemWizardPage10, ID_PROJECRINFOBOINCLINK, wxT("http://boinc.berkeley.edu/"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER ); - itemBoxSizer11->Add(itemHyperLink21, 0, wxALIGN_LEFT|wxALL, 5); + wxStaticText* itemStaticText21 = new wxStaticText; + itemStaticText21->Create( itemWizardPage18, wxID_STATIC, _("Which project do you wish to attach to?"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer19->Add(itemStaticText21, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer19->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText23 = new wxStaticText; + itemStaticText23->Create( itemWizardPage18, wxID_STATIC, _("The project URL is generally the project's homepage. It is in the form of\na web address and can be found in your browsers address bar."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer19->Add(itemStaticText23, 0, wxALIGN_LEFT|wxALL, 5); + + wxFlexGridSizer* itemFlexGridSizer24 = new wxFlexGridSizer(1, 2, 0, 0); + itemFlexGridSizer24->AddGrowableCol(1); + itemBoxSizer19->Add(itemFlexGridSizer24, 0, wxALIGN_LEFT|wxALL, 5); + + m_ProjectUrlStaticCtrl = new wxStaticText; + m_ProjectUrlStaticCtrl->Create( itemWizardPage18, ID_PROJECTURLSTATICCTRL, _("Project URL:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer24->Add(m_ProjectUrlStaticCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_ProjectUrlCtrl = new wxTextCtrl; + m_ProjectUrlCtrl->Create( itemWizardPage18, ID_PROJECTURLCTRL, _T(""), wxDefaultPosition, wxSize(250, -1), 0 ); + itemFlexGridSizer24->Add(m_ProjectUrlCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + itemBoxSizer19->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText28 = new wxStaticText; + itemStaticText28->Create( itemWizardPage18, wxID_STATIC, _("For more information, and to see a list of some BOINC-based projects,\ngo to:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer19->Add(itemStaticText28, 0, wxALIGN_LEFT|wxALL, 5); + + wxHyperLink* itemHyperLink29 = new wxHyperLink; + itemHyperLink29->Create( itemWizardPage18, ID_PROJECRINFOBOINCLINK, wxT("http://boinc.berkeley.edu/"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER ); + itemBoxSizer19->Add(itemHyperLink29, 0, wxALIGN_LEFT|wxALL, 5); // Set validators m_ProjectUrlCtrl->SetValidator( wxTextValidator(wxFILTER_NONE, & m_strProjectURL) ); @@ -471,7 +624,7 @@ wxWizardPage* CProjectInfoPage::GetPrev() const wxWizardPage* CProjectInfoPage::GetNext() const { // TODO: return the next page - return ((CWizAttachProject*)GetParent())->m_AccountInfoPage; + return ((CWizAttachProject*)GetParent())->m_ProjectPropertiesPage; } /*! @@ -507,6 +660,393 @@ wxIcon CProjectInfoPage::GetIconResource( const wxString& name ) ////@end CProjectInfoPage icon retrieval } + +/*! + * CProjectPropertiesPage custom event definition + */ +DEFINE_EVENT_TYPE(wxEVT_PROJECTPROPERTIES_STATECHANGE) + + +/*! + * CProjectPropertiesPage type definition + */ + +IMPLEMENT_DYNAMIC_CLASS( CProjectPropertiesPage, wxWizardPage ) + +/*! + * CProjectPropertiesPage event table definition + */ + +BEGIN_EVENT_TABLE( CProjectPropertiesPage, wxWizardPage ) + + EVT_PROJECTPROPERTIES_STATECHANGE( CProjectPropertiesPage::OnStateChange ) + +////@begin CProjectPropertiesPage event table entries + EVT_WIZARD_PAGE_CHANGED( -1, CProjectPropertiesPage::OnPageChanged ) + +////@end CProjectPropertiesPage event table entries + +END_EVENT_TABLE() + +/*! + * CProjectPropertiesPage constructors + */ + +CProjectPropertiesPage::CProjectPropertiesPage( ) +{ +} + +CProjectPropertiesPage::CProjectPropertiesPage( wxWizard* parent ) +{ + Create( parent ); +} + +/*! + * WizardPage creator + */ + +bool CProjectPropertiesPage::Create( wxWizard* parent ) +{ +////@begin CProjectPropertiesPage member initialisation + m_RetrProjectPropertiesImageCtrl = NULL; + m_RetrProjectPropertiesCtrl = NULL; + m_CommYahooImageCtrl = NULL; + m_CommYahooCtrl = NULL; + m_CommGoogleImageCtrl = NULL; + m_CommGoogleCtrl = NULL; + m_DetermineConnectionStatusImageCtrl = NULL; + m_DetermineConnectionStatusCtrl = NULL; + m_FinalAccountCreationStatusCtrl = NULL; +////@end CProjectPropertiesPage member initialisation + m_bProjectPropertiesSucceeded = false; + m_bCommunicateYahooSucceeded = false; + m_bCommunicateGoogleSucceeded = false; + m_bDeterminingConnectionStatusSucceeded = false; + m_iCurrentState = 0; + +////@begin CProjectPropertiesPage creation + wxBitmap wizardBitmap(wxNullBitmap); + wxWizardPage::Create( parent, wizardBitmap ); + + CreateControls(); + GetSizer()->Fit(this); +////@end CProjectPropertiesPage creation + return TRUE; +} + +/*! + * Control creation for WizardPage + */ + +void CProjectPropertiesPage::CreateControls() +{ +////@begin CProjectPropertiesPage content construction + CProjectPropertiesPage* itemWizardPage30 = this; + + wxBoxSizer* itemBoxSizer31 = new wxBoxSizer(wxVERTICAL); + itemWizardPage30->SetSizer(itemBoxSizer31); + + wxStaticText* itemStaticText32 = new wxStaticText; + itemStaticText32->Create( itemWizardPage30, wxID_STATIC, _("Project Properties"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText32->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer31->Add(itemStaticText32, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + + wxStaticText* itemStaticText33 = new wxStaticText; + itemStaticText33->Create( itemWizardPage30, wxID_STATIC, _("This wizard is now attempting to retrieve the project’s account\ncreation policies."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer31->Add(itemStaticText33, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + + itemBoxSizer31->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText35 = new wxStaticText; + itemStaticText35->Create( itemWizardPage30, wxID_STATIC, _("If this wizard cannot reach the project server, it'll attempt to contact a\ncouple known good websites in an effort to help diagnose the problem."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer31->Add(itemStaticText35, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + + wxFlexGridSizer* itemFlexGridSizer36 = new wxFlexGridSizer(0, 2, 0, 0); + itemBoxSizer31->Add(itemFlexGridSizer36, 0, wxALIGN_LEFT|wxALL, 5); + + wxBitmap m_RetrProjectPropertiesImageCtrlBitmap(itemWizardPage30->GetBitmapResource(wxT("res/wizquestion.xpm"))); + m_RetrProjectPropertiesImageCtrl = new wxStaticBitmap; + m_RetrProjectPropertiesImageCtrl->Create( itemWizardPage30, ID_RETRPROJECTPROPERTIESIMAGECTRL, m_RetrProjectPropertiesImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); + itemFlexGridSizer36->Add(m_RetrProjectPropertiesImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_RetrProjectPropertiesCtrl = new wxStaticText; + m_RetrProjectPropertiesCtrl->Create( itemWizardPage30, ID_RETRPROJECTPROPERTIESCTRL, _("Retrieving project account creation policy"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer36->Add(m_RetrProjectPropertiesCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL|wxADJUST_MINSIZE, 5); + + wxBitmap m_CommYahooImageCtrlBitmap(itemWizardPage30->GetBitmapResource(wxT("res/wizsuccess.xpm"))); + m_CommYahooImageCtrl = new wxStaticBitmap; + m_CommYahooImageCtrl->Create( itemWizardPage30, ID_COMMYAHOOIMAGECTRL, m_CommYahooImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); + itemFlexGridSizer36->Add(m_CommYahooImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_CommYahooCtrl = new wxStaticText; + m_CommYahooCtrl->Create( itemWizardPage30, ID_COMMYAHOOCTRL, _("Communicating with Yahoo"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer36->Add(m_CommYahooCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL|wxADJUST_MINSIZE, 5); + + wxBitmap m_CommGoogleImageCtrlBitmap(itemWizardPage30->GetBitmapResource(wxT("res/wizfailure.xpm"))); + m_CommGoogleImageCtrl = new wxStaticBitmap; + m_CommGoogleImageCtrl->Create( itemWizardPage30, ID_COMMGOOGLEIMAGECTRL, m_CommGoogleImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); + itemFlexGridSizer36->Add(m_CommGoogleImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_CommGoogleCtrl = new wxStaticText; + m_CommGoogleCtrl->Create( itemWizardPage30, ID_COMMGOOGLECTRL, _("Communicating with Google"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer36->Add(m_CommGoogleCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL|wxADJUST_MINSIZE, 5); + + wxBitmap m_DetermineConnectionStatusImageCtrlBitmap(itemWizardPage30->GetBitmapResource(wxT("res/wizquestion.xpm"))); + m_DetermineConnectionStatusImageCtrl = new wxStaticBitmap; + m_DetermineConnectionStatusImageCtrl->Create( itemWizardPage30, ID_DETERMINECONNECTIONSTATUSIMAGECTRL, m_DetermineConnectionStatusImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); + itemFlexGridSizer36->Add(m_DetermineConnectionStatusImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_DetermineConnectionStatusCtrl = new wxStaticText; + m_DetermineConnectionStatusCtrl->Create( itemWizardPage30, ID_DETERMINECONNECTIONSTATUSCTRL, _("Determining connection status"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer36->Add(m_DetermineConnectionStatusCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL|wxADJUST_MINSIZE, 5); + + m_FinalAccountCreationStatusCtrl = new wxStaticText; + m_FinalAccountCreationStatusCtrl->Create( itemWizardPage30, ID_STATICTEXT4, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer31->Add(m_FinalAccountCreationStatusCtrl, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + +////@end CProjectPropertiesPage content construction +} + +/*! + * Gets the previous page. + */ + +wxWizardPage* CProjectPropertiesPage::GetPrev() const +{ + return ((CWizAttachProject*)GetParent())->m_ProjectInfoPage; +} + +/*! + * Gets the next page. + */ + +wxWizardPage* CProjectPropertiesPage::GetNext() const +{ + if (GetProjectPropertiesSucceeded()) { + // We were successful in retrieving the project properties + return ((CWizAttachProject*)GetParent())->m_AccountInfoPage; + } else if ((GetCommunicateYahooSucceeded() || GetCommunicateGoogleSucceeded()) && GetDeterminingConnectionStatusSucceeded()) { + // The project much be down for maintenance + return ((CWizAttachProject*)GetParent())->m_ErrProjectUnavailablePage; + } else if ((!GetCommunicateYahooSucceeded() && !GetCommunicateGoogleSucceeded()) && GetDeterminingConnectionStatusSucceeded()) { + // Possible proxy problem + return ((CWizAttachProject*)GetParent())->m_ErrProxyInfoPage; + } else if ((!GetCommunicateYahooSucceeded() && !GetCommunicateGoogleSucceeded()) && !GetDeterminingConnectionStatusSucceeded()) { + // No Internet Connection + return ((CWizAttachProject*)GetParent())->m_ErrNoInternetConnectionPage; + } + return NULL; +} + +/*! + * Should we show tooltips? + */ + +bool CProjectPropertiesPage::ShowToolTips() +{ + return TRUE; +} + +/*! + * Get bitmap resources + */ + +wxBitmap CProjectPropertiesPage::GetBitmapResource( const wxString& name ) +{ + // Bitmap retrieval +////@begin CProjectPropertiesPage bitmap retrieval + if (name == wxT("res/wizquestion.xpm")) + { + wxBitmap bitmap(wizquestion_xpm); + return bitmap; + } + else if (name == wxT("res/wizsuccess.xpm")) + { + wxBitmap bitmap(wizsuccess_xpm); + return bitmap; + } + else if (name == wxT("res/wizfailure.xpm")) + { + wxBitmap bitmap(wizfailure_xpm); + return bitmap; + } + return wxNullBitmap; +////@end CProjectPropertiesPage bitmap retrieval +} + +/*! + * Get icon resources + */ + +wxIcon CProjectPropertiesPage::GetIconResource( const wxString& name ) +{ + // Icon retrieval +////@begin CProjectPropertiesPage icon retrieval + return wxNullIcon; +////@end CProjectPropertiesPage icon retrieval +} + +/*! + * wxEVT_WIZARD_PAGE_CHANGED event handler for ID_PROJECTPROPERTIESPAGE + */ + +void CProjectPropertiesPage::OnPageChanged( wxWizardEvent& event ) +{ + if (event.GetDirection() == false) return; + + SetProjectPropertiesSucceeded(false); + SetCommunicateYahooSucceeded(false); + SetCommunicateGoogleSucceeded(false); + SetDeterminingConnectionStatusSucceeded(false); + SetNextState(PROJPROP_INIT); + + CProjectPropertiesPageEvent TransitionEvent(wxEVT_PROJECTPROPERTIES_STATECHANGE, this); + AddPendingEvent(TransitionEvent); +} + +/*! + * wxEVT_PROJECTPROPERTIES_STATECHANGE event handler for ID_PROJECTPROPERTIESPAGE + */ + +void CProjectPropertiesPage::OnStateChange( CProjectPropertiesPageEvent& event ) +{ + bool bPostNewEvent = true; + + wxFont fontOriginal = m_FinalAccountCreationStatusCtrl->GetFont(); + wxFont fontBold = m_FinalAccountCreationStatusCtrl->GetFont(); + fontBold.SetWeight(wxBOLD); + + switch(GetCurrentState()) { + case PROJPROP_INIT: + // Set initial bitmaps to question marks since we don't yet know how + // things will turn out. + m_RetrProjectPropertiesImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizquestion.xpm"))); + m_CommYahooImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizquestion.xpm"))); + m_CommGoogleImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizquestion.xpm"))); + m_DetermineConnectionStatusImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizquestion.xpm"))); + + // Hide the additional diagnostics stuff until we really need it. + m_CommYahooImageCtrl->Hide(); + m_CommYahooCtrl->Hide(); + m_CommGoogleImageCtrl->Hide(); + m_CommGoogleCtrl->Hide(); + m_DetermineConnectionStatusImageCtrl->Hide(); + m_DetermineConnectionStatusCtrl->Hide(); + + // Clear out any text that might exist in the final status field + m_FinalAccountCreationStatusCtrl->SetLabel(wxT("")); + + SetNextState(PROJPROP_RETRPROJECTPROPERTIES_BEGIN); + break; + case PROJPROP_RETRPROJECTPROPERTIES_BEGIN: + // Highlight the current activity by making it bold + m_RetrProjectPropertiesCtrl->SetFont(fontBold); + + SetNextState(PROJPROP_RETRPROJECTPROPERTIES_EXECUTE); + break; + case PROJPROP_RETRPROJECTPROPERTIES_EXECUTE: + // Attempt to retrieve the project’s account creation policies + wxSleep(2); + + // Replace the 'false' with the function call that really does the work. + if (!false && !((CWizAttachProject*)GetParent())->IsDiagFlagsSet(WIZDEBUG_ERRPROJECTPROPERTIES)) { + m_RetrProjectPropertiesImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizsuccess.xpm"))); + + SetProjectPropertiesSucceeded(true); + SetNextState(PROJPROP_END); + } else { + m_RetrProjectPropertiesImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizfailure.xpm"))); + + // Show the additional diagnostics stuff. + m_CommYahooImageCtrl->Show(); + m_CommYahooCtrl->Show(); + m_CommGoogleImageCtrl->Show(); + m_CommGoogleCtrl->Show(); + m_DetermineConnectionStatusImageCtrl->Show(); + m_DetermineConnectionStatusCtrl->Show(); + + SetProjectPropertiesSucceeded(false); + SetNextState(PROJPROP_COMMUNICATEYAHOO_BEGIN); + } + m_RetrProjectPropertiesCtrl->SetFont(fontOriginal); + break; + case PROJPROP_COMMUNICATEYAHOO_BEGIN: + // Highlight the current activity by making it bold + m_CommYahooCtrl->SetFont(fontBold); + SetNextState(PROJPROP_COMMUNICATEYAHOO_EXECUTE); + break; + case PROJPROP_COMMUNICATEYAHOO_EXECUTE: + // Attempt to successfully download the Yahoo homepage + wxSleep(2); + + // Replace the 'false' with the function call that really does the work. + if (!false && !((CWizAttachProject*)GetParent())->IsDiagFlagsSet(WIZDEBUG_ERRYAHOOCOMM)) { + m_CommYahooImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizsuccess.xpm"))); + SetCommunicateYahooSucceeded(true); + } else { + m_CommYahooImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizfailure.xpm"))); + SetCommunicateYahooSucceeded(false); + } + SetNextState(PROJPROP_COMMUNICATEGOOGLE_BEGIN); + m_CommYahooCtrl->SetFont(fontOriginal); + break; + case PROJPROP_COMMUNICATEGOOGLE_BEGIN: + // Highlight the current activity by making it bold + m_CommGoogleCtrl->SetFont(fontBold); + SetNextState(PROJPROP_COMMUNICATEGOOGLE_EXECUTE); + break; + case PROJPROP_COMMUNICATEGOOGLE_EXECUTE: + // Attempt to successfully download the Google homepage + wxSleep(2); + + // Replace the 'false' with the function call that really does the work. + if (!false && !((CWizAttachProject*)GetParent())->IsDiagFlagsSet(WIZDEBUG_ERRGOOGLECOMM)) { + m_CommGoogleImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizsuccess.xpm"))); + SetCommunicateGoogleSucceeded(true); + } else { + m_CommGoogleImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizfailure.xpm"))); + SetCommunicateGoogleSucceeded(false); + } + m_CommGoogleCtrl->SetFont(fontOriginal); + SetNextState(PROJPROP_DETERMINENETWORKSTATUS_BEGIN); + break; + case PROJPROP_DETERMINENETWORKSTATUS_BEGIN: + // Highlight the current activity by making it bold + m_DetermineConnectionStatusCtrl->SetFont(fontBold); + SetNextState(PROJPROP_DETERMINENETWORKSTATUS_EXECUTE); + break; + case PROJPROP_DETERMINENETWORKSTATUS_EXECUTE: + // Attempt to determine if we are even connected to a network + wxSleep(2); + + // Replace the 'false' with the function call that really does the work. + if (!false && !((CWizAttachProject*)GetParent())->IsDiagFlagsSet(WIZDEBUG_ERRNETDETECTION)) { + m_DetermineConnectionStatusImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizsuccess.xpm"))); + SetDeterminingConnectionStatusSucceeded(true); + } else { + m_DetermineConnectionStatusImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizfailure.xpm"))); + SetDeterminingConnectionStatusSucceeded(false); + } + m_DetermineConnectionStatusCtrl->SetFont(fontOriginal); + + // Say something useful to go with this condition + m_FinalAccountCreationStatusCtrl->SetLabel(_("One or more problems detected, click Next to troubleshoot the\nproblem.")); + + SetNextState(PROJPROP_END); + break; + default: + bPostNewEvent = false; + break; + } + + Update(); + + if (bPostNewEvent) { + CProjectPropertiesPageEvent TransitionEvent(wxEVT_PROJECTPROPERTIES_STATECHANGE, this); + AddPendingEvent(TransitionEvent); + } +} + /*! * CAccountInfoPage type definition */ @@ -575,67 +1115,67 @@ bool CAccountInfoPage::Create( wxWizard* parent ) void CAccountInfoPage::CreateControls() { ////@begin CAccountInfoPage content construction - CAccountInfoPage* itemWizardPage22 = this; + CAccountInfoPage* itemWizardPage46 = this; - wxBoxSizer* itemBoxSizer23 = new wxBoxSizer(wxVERTICAL); - itemWizardPage22->SetSizer(itemBoxSizer23); + wxBoxSizer* itemBoxSizer47 = new wxBoxSizer(wxVERTICAL); + itemWizardPage46->SetSizer(itemBoxSizer47); - wxStaticText* itemStaticText24 = new wxStaticText; - itemStaticText24->Create( itemWizardPage22, wxID_STATIC, _("Account Information"), wxDefaultPosition, wxDefaultSize, 0 ); - itemStaticText24->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); - itemBoxSizer23->Add(itemStaticText24, 0, wxALIGN_LEFT|wxALL, 5); + wxStaticText* itemStaticText48 = new wxStaticText; + itemStaticText48->Create( itemWizardPage46, wxID_STATIC, _("Account Information"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText48->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer47->Add(itemStaticText48, 0, wxALIGN_LEFT|wxALL, 5); - wxStaticText* itemStaticText25 = new wxStaticText; - itemStaticText25->Create( itemWizardPage22, wxID_STATIC, _("Do you wish to use an existing account or create a new one?"), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer23->Add(itemStaticText25, 0, wxALIGN_LEFT|wxALL, 5); + wxStaticText* itemStaticText49 = new wxStaticText; + itemStaticText49->Create( itemWizardPage46, wxID_STATIC, _("Do you wish to use an existing account or create a new one?"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer47->Add(itemStaticText49, 0, wxALIGN_LEFT|wxALL, 5); - itemBoxSizer23->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + itemBoxSizer47->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); - wxStaticText* itemStaticText27 = new wxStaticText; - itemStaticText27->Create( itemWizardPage22, wxID_STATIC, _("If this is the first time you have attempted to attach to this project then\nyou should create a new account. If you already have an account you\nshould use your existing email address and password to attach to the\nproject."), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer23->Add(itemStaticText27, 0, wxALIGN_LEFT|wxALL, 5); + wxStaticText* itemStaticText51 = new wxStaticText; + itemStaticText51->Create( itemWizardPage46, wxID_STATIC, _("If this is the first time you have attempted to attach to this project then\nyou should create a new account. If you already have an account you\nshould use your existing email address and password to attach to the\nproject."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer47->Add(itemStaticText51, 0, wxALIGN_LEFT|wxALL, 5); - wxFlexGridSizer* itemFlexGridSizer28 = new wxFlexGridSizer(1, 2, 0, 0); - itemFlexGridSizer28->AddGrowableCol(1); - itemBoxSizer23->Add(itemFlexGridSizer28, 0, wxGROW|wxALL, 5); + wxFlexGridSizer* itemFlexGridSizer52 = new wxFlexGridSizer(1, 2, 0, 0); + itemFlexGridSizer52->AddGrowableCol(1); + itemBoxSizer47->Add(itemFlexGridSizer52, 0, wxGROW|wxALL, 5); m_AccountCreateCtrl = new wxRadioButton; - m_AccountCreateCtrl->Create( itemWizardPage22, ID_ACCOUNTCREATECTRL, _("Create new account"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP ); + m_AccountCreateCtrl->Create( itemWizardPage46, ID_ACCOUNTCREATECTRL, _("Create new account"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP ); m_AccountCreateCtrl->SetValue(FALSE); - itemFlexGridSizer28->Add(m_AccountCreateCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + itemFlexGridSizer52->Add(m_AccountCreateCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); m_AccountUseExistingCtrl = new wxRadioButton; - m_AccountUseExistingCtrl->Create( itemWizardPage22, ID_ACCOUNTUSEEXISTINGCTRL, _("Use existing account"), wxDefaultPosition, wxDefaultSize, 0 ); + m_AccountUseExistingCtrl->Create( itemWizardPage46, ID_ACCOUNTUSEEXISTINGCTRL, _("Use existing account"), wxDefaultPosition, wxDefaultSize, 0 ); m_AccountUseExistingCtrl->SetValue(FALSE); - itemFlexGridSizer28->Add(m_AccountUseExistingCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + itemFlexGridSizer52->Add(m_AccountUseExistingCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxFlexGridSizer* itemFlexGridSizer31 = new wxFlexGridSizer(3, 2, 0, 0); - itemFlexGridSizer31->AddGrowableCol(1); - itemBoxSizer23->Add(itemFlexGridSizer31, 0, wxGROW|wxALL, 5); + wxFlexGridSizer* itemFlexGridSizer55 = new wxFlexGridSizer(3, 2, 0, 0); + itemFlexGridSizer55->AddGrowableCol(1); + itemBoxSizer47->Add(itemFlexGridSizer55, 0, wxGROW|wxALL, 5); m_AccountEmailAddressStaticCtrl = new wxStaticText; - m_AccountEmailAddressStaticCtrl->Create( itemWizardPage22, ID_ACCOUNTEMAILADDRESSSTATICCTRL, _("Email address:"), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer31->Add(m_AccountEmailAddressStaticCtrl, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + m_AccountEmailAddressStaticCtrl->Create( itemWizardPage46, ID_ACCOUNTEMAILADDRESSSTATICCTRL, _("Email address:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer55->Add(m_AccountEmailAddressStaticCtrl, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); m_AccountEmailAddressCtrl = new wxTextCtrl; - m_AccountEmailAddressCtrl->Create( itemWizardPage22, ID_ACCOUNTEMAILADDRESSCTRL, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer31->Add(m_AccountEmailAddressCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + m_AccountEmailAddressCtrl->Create( itemWizardPage46, ID_ACCOUNTEMAILADDRESSCTRL, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer55->Add(m_AccountEmailAddressCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); m_AccountPasswordStaticCtrl = new wxStaticText; - m_AccountPasswordStaticCtrl->Create( itemWizardPage22, ID_ACCOUNTPASSWORDSTATICCTRL, _("Password:"), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer31->Add(m_AccountPasswordStaticCtrl, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + m_AccountPasswordStaticCtrl->Create( itemWizardPage46, ID_ACCOUNTPASSWORDSTATICCTRL, _("Password:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer55->Add(m_AccountPasswordStaticCtrl, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); m_AccountPasswordCtrl = new wxTextCtrl; - m_AccountPasswordCtrl->Create( itemWizardPage22, ID_ACCOUNTPASSWORDCTRL, _T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); - itemFlexGridSizer31->Add(m_AccountPasswordCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + m_AccountPasswordCtrl->Create( itemWizardPage46, ID_ACCOUNTPASSWORDCTRL, _T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); + itemFlexGridSizer55->Add(m_AccountPasswordCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); m_AccountConfirmPasswordStaticCtrl = new wxStaticText; - m_AccountConfirmPasswordStaticCtrl->Create( itemWizardPage22, ID_ACCOUNTCONFIRMPASSWORDSTATICCTRL, _("Confirm password:"), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer31->Add(m_AccountConfirmPasswordStaticCtrl, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + m_AccountConfirmPasswordStaticCtrl->Create( itemWizardPage46, ID_ACCOUNTCONFIRMPASSWORDSTATICCTRL, _("Confirm password:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer55->Add(m_AccountConfirmPasswordStaticCtrl, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); m_AccountConfirmPasswordCtrl = new wxTextCtrl; - m_AccountConfirmPasswordCtrl->Create( itemWizardPage22, ID_ACCOUNTCONFIRMPASSWORDCTRL, _T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); - itemFlexGridSizer31->Add(m_AccountConfirmPasswordCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + m_AccountConfirmPasswordCtrl->Create( itemWizardPage46, ID_ACCOUNTCONFIRMPASSWORDCTRL, _T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); + itemFlexGridSizer55->Add(m_AccountConfirmPasswordCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); // Set validators m_AccountEmailAddressCtrl->SetValidator( wxGenericValidator(& m_strAccountEmailAddress) ); @@ -718,338 +1258,6 @@ void CAccountInfoPage::OnAccountCreateCtrlSelected( wxCommandEvent& event ) } -/*! - * CAccountCreatePage custom event definition - */ -DEFINE_EVENT_TYPE(wxEVT_ACCOUNTCREATION_STATECHANGE) - - -/*! - * CAccountCreationPage type definition - */ - -IMPLEMENT_DYNAMIC_CLASS( CAccountCreationPage, wxWizardPage ) - -/*! - * CAccountCreationPage event table definition - */ - -BEGIN_EVENT_TABLE( CAccountCreationPage, wxWizardPage ) - - EVT_ACCOUNTCREATION_STATECHANGE( CAccountCreationPage::OnStateChange ) - -////@begin CAccountCreationPage event table entries - EVT_WIZARD_PAGE_CHANGED( -1, CAccountCreationPage::OnPageChanged ) - -////@end CAccountCreationPage event table entries - -END_EVENT_TABLE() - -/*! - * CAccountCreationPage constructors - */ - -CAccountCreationPage::CAccountCreationPage( ) -{ -} - -CAccountCreationPage::CAccountCreationPage( wxWizard* parent ) -{ - Create( parent ); -} - -/*! - * WizardPage creator - */ - -bool CAccountCreationPage::Create( wxWizard* parent ) -{ -////@begin CAccountCreationPage member initialisation - m_CommBOINCProjectImageCtrl = NULL; - m_CommBOINCProjectCtrl = NULL; - m_CommYahooImageCtrl = NULL; - m_CommYahooCtrl = NULL; - m_CommGoogleImageCtrl = NULL; - m_CommGoogleCtrl = NULL; - m_DetermineConnectionStatusImageCtrl = NULL; - m_DetermineConnectionStatusCtrl = NULL; - m_FinalAccountCreationStatusCtrl = NULL; -////@end CAccountCreationPage member initialisation - m_iCurrentState = 0; - -////@begin CAccountCreationPage creation - wxBitmap wizardBitmap(wxNullBitmap); - wxWizardPage::Create( parent, wizardBitmap ); - - CreateControls(); - GetSizer()->Fit(this); -////@end CAccountCreationPage creation - return TRUE; -} - -/*! - * Control creation for WizardPage - */ - -void CAccountCreationPage::CreateControls() -{ -////@begin CAccountCreationPage content construction - CAccountCreationPage* itemWizardPage38 = this; - - wxBoxSizer* itemBoxSizer39 = new wxBoxSizer(wxVERTICAL); - itemWizardPage38->SetSizer(itemBoxSizer39); - - wxStaticText* itemStaticText40 = new wxStaticText; - itemStaticText40->Create( itemWizardPage38, wxID_STATIC, _("Account Creation"), wxDefaultPosition, wxDefaultSize, 0 ); - itemStaticText40->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); - itemBoxSizer39->Add(itemStaticText40, 0, wxALIGN_LEFT|wxALL, 5); - - wxStaticText* itemStaticText41 = new wxStaticText; - itemStaticText41->Create( itemWizardPage38, wxID_STATIC, _("This wizard is now attempting to create a new account or validate your\nexisting account."), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer39->Add(itemStaticText41, 0, wxALIGN_LEFT|wxALL, 5); - - itemBoxSizer39->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); - - wxStaticText* itemStaticText43 = new wxStaticText; - itemStaticText43->Create( itemWizardPage38, wxID_STATIC, _("If this wizard cannot reach the project server, it'll attempt to contact a\ncouple known good websites in an effort to help diagnose the problem."), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer39->Add(itemStaticText43, 0, wxALIGN_LEFT|wxALL, 5); - - wxFlexGridSizer* itemFlexGridSizer44 = new wxFlexGridSizer(0, 2, 0, 0); - itemBoxSizer39->Add(itemFlexGridSizer44, 0, wxALIGN_LEFT|wxALL, 5); - - wxBitmap m_CommBOINCProjectImageCtrlBitmap(itemWizardPage38->GetBitmapResource(wxT("res/wizquestion.xpm"))); - m_CommBOINCProjectImageCtrl = new wxStaticBitmap; - m_CommBOINCProjectImageCtrl->Create( itemWizardPage38, ID_COMMBOINCPROJECTIMAGECTRL, m_CommBOINCProjectImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); - itemFlexGridSizer44->Add(m_CommBOINCProjectImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - m_CommBOINCProjectCtrl = new wxStaticText; - m_CommBOINCProjectCtrl->Create( itemWizardPage38, ID_COMMBOINCPROJECTCTRL, _("Communicating with BOINC project"), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer44->Add(m_CommBOINCProjectCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - wxBitmap m_CommYahooImageCtrlBitmap(itemWizardPage38->GetBitmapResource(wxT("res/wizsuccess.xpm"))); - m_CommYahooImageCtrl = new wxStaticBitmap; - m_CommYahooImageCtrl->Create( itemWizardPage38, ID_COMMYAHOOIMAGECTRL, m_CommYahooImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); - itemFlexGridSizer44->Add(m_CommYahooImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - m_CommYahooCtrl = new wxStaticText; - m_CommYahooCtrl->Create( itemWizardPage38, ID_COMMYAHOOCTRL, _("Communicating with Yahoo"), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer44->Add(m_CommYahooCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - wxBitmap m_CommGoogleImageCtrlBitmap(itemWizardPage38->GetBitmapResource(wxT("res/wizfailure.xpm"))); - m_CommGoogleImageCtrl = new wxStaticBitmap; - m_CommGoogleImageCtrl->Create( itemWizardPage38, ID_COMMGOOGLEIMAGECTRL, m_CommGoogleImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); - itemFlexGridSizer44->Add(m_CommGoogleImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - m_CommGoogleCtrl = new wxStaticText; - m_CommGoogleCtrl->Create( itemWizardPage38, ID_COMMGOOGLECTRL, _("Communicating with Google"), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer44->Add(m_CommGoogleCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - wxBitmap m_DetermineConnectionStatusImageCtrlBitmap(itemWizardPage38->GetBitmapResource(wxT("res/wizquestion.xpm"))); - m_DetermineConnectionStatusImageCtrl = new wxStaticBitmap; - m_DetermineConnectionStatusImageCtrl->Create( itemWizardPage38, ID_DETERMINECONNECTIONSTATUSIMAGECTRL, m_DetermineConnectionStatusImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); - itemFlexGridSizer44->Add(m_DetermineConnectionStatusImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - m_DetermineConnectionStatusCtrl = new wxStaticText; - m_DetermineConnectionStatusCtrl->Create( itemWizardPage38, ID_DETERMINECONNECTIONSTATUSCTRL, _("Determining connection status"), wxDefaultPosition, wxDefaultSize, 0 ); - itemFlexGridSizer44->Add(m_DetermineConnectionStatusCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5); - - m_FinalAccountCreationStatusCtrl = new wxStaticText; - m_FinalAccountCreationStatusCtrl->Create( itemWizardPage38, ID_FINALACCOUNTCREATIONSTATUSCTRL, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer39->Add(m_FinalAccountCreationStatusCtrl, 0, wxALIGN_LEFT|wxALL, 5); - -////@end CAccountCreationPage content construction -} - -/*! - * Gets the previous page. - */ - -wxWizardPage* CAccountCreationPage::GetPrev() const -{ - // TODO: return the previous page - return ((CWizAttachProject*)GetParent())->m_AccountInfoPage; -} - -/*! - * Gets the next page. - */ - -wxWizardPage* CAccountCreationPage::GetNext() const -{ - // TODO: return the next page - return NULL; -} - -/*! - * Should we show tooltips? - */ - -bool CAccountCreationPage::ShowToolTips() -{ - return TRUE; -} - -/*! - * Get bitmap resources - */ - -wxBitmap CAccountCreationPage::GetBitmapResource( const wxString& name ) -{ - // Bitmap retrieval -////@begin CAccountCreationPage bitmap retrieval - if (name == wxT("res/wizquestion.xpm")) - { - wxBitmap bitmap(wizquestion_xpm); - return bitmap; - } - else if (name == wxT("res/wizsuccess.xpm")) - { - wxBitmap bitmap(wizsuccess_xpm); - return bitmap; - } - else if (name == wxT("res/wizfailure.xpm")) - { - wxBitmap bitmap(wizfailure_xpm); - return bitmap; - } - return wxNullBitmap; -////@end CAccountCreationPage bitmap retrieval -} - -/*! - * Get icon resources - */ - -wxIcon CAccountCreationPage::GetIconResource( const wxString& name ) -{ - // Icon retrieval -////@begin CAccountCreationPage icon retrieval - return wxNullIcon; -////@end CAccountCreationPage icon retrieval -} - -/*! - * wxEVT_WIZARD_PAGE_CHANGED event handler for ID_ACCOUNTCREATIONPAGE - */ - -void CAccountCreationPage::OnPageChanged( wxWizardEvent& event ) -{ - if (event.GetDirection() == false) return; - - m_iCurrentState = 0; - - CAccountCreationPageEvent TransitionEvent(wxEVT_ACCOUNTCREATION_STATECHANGE, this); - AddPendingEvent(TransitionEvent); -} - -/*! - * wxEVT_ACCOUNTCREATION_STATECHANGE event handler for ID_ACCOUNTCREATIONPAGE - */ - -void CAccountCreationPage::OnStateChange( CAccountCreationPageEvent& event ) -{ - bool bPostNewEvent = true; - - wxFont fontOriginal = m_FinalAccountCreationStatusCtrl->GetFont(); - wxFont fontBold = m_FinalAccountCreationStatusCtrl->GetFont(); - fontBold.SetWeight(wxBOLD); - - switch(m_iCurrentState) { - case 0: - // Set initial bitmaps to question marks since we don't yet know how - // things will turn out. - m_CommBOINCProjectImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizquestion.xpm"))); - m_CommYahooImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizquestion.xpm"))); - m_CommGoogleImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizquestion.xpm"))); - m_DetermineConnectionStatusImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizquestion.xpm"))); - - // Hide the additional diagnostics stuff until we really need it. - m_CommYahooImageCtrl->Hide(); - m_CommYahooCtrl->Hide(); - m_CommGoogleImageCtrl->Hide(); - m_CommGoogleCtrl->Hide(); - m_DetermineConnectionStatusImageCtrl->Hide(); - m_DetermineConnectionStatusCtrl->Hide(); - - // Clear out any text that might exist in the final status field - m_FinalAccountCreationStatusCtrl->SetLabel(wxT("")); - - // Highlight the current activity by making it bold - m_CommBOINCProjectCtrl->SetFont(fontBold); - break; - case 1: - // Attempt to create an account on the project server or validate an existing account - wxSleep(5); - - // demo purpose, fail it. - m_CommBOINCProjectImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizfailure.xpm"))); - m_CommBOINCProjectCtrl->SetFont(fontOriginal); - - // Show the additional diagnostics stuff. - m_CommYahooImageCtrl->Show(); - m_CommYahooCtrl->Show(); - m_CommGoogleImageCtrl->Show(); - m_CommGoogleCtrl->Show(); - m_DetermineConnectionStatusImageCtrl->Show(); - m_DetermineConnectionStatusCtrl->Show(); - - break; - case 2: - - // Highlight the current activity by making it bold - m_CommYahooCtrl->SetFont(fontBold); - break; - case 3: - // Attempt to successfully download the Yahoo homepage - wxSleep(5); - - // demo purpose, fail it. - m_CommYahooImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizfailure.xpm"))); - m_CommYahooCtrl->SetFont(fontOriginal); - break; - case 4: - // Highlight the current activity by making it bold - m_CommGoogleCtrl->SetFont(fontBold); - - break; - case 5: - // Attempt to successfully download the Google homepage - wxSleep(5); - - // demo purpose, fail it. - m_CommGoogleImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizfailure.xpm"))); - m_CommGoogleCtrl->SetFont(fontOriginal); - break; - case 6: - // Highlight the current activity by making it bold - m_DetermineConnectionStatusCtrl->SetFont(fontBold); - - break; - case 7: - // Attempt to determine if we are even connected to a network - wxSleep(5); - - // demo purpose, success. - m_DetermineConnectionStatusImageCtrl->SetBitmap(GetBitmapResource(wxT("res/wizsuccess.xpm"))); - m_DetermineConnectionStatusCtrl->SetFont(fontOriginal); - - // Say something useful to go with this condition - m_FinalAccountCreationStatusCtrl->SetLabel(_("One or more problems detected, click Next to troubleshoot the\nproblem.")); - break; - default: - bPostNewEvent = false; - break; - } - m_iCurrentState++; - - Update(); - - if (bPostNewEvent) { - CAccountCreationPageEvent TransitionEvent(wxEVT_ACCOUNTCREATION_STATECHANGE, this); - AddPendingEvent(TransitionEvent); - } -} - /*! * CCompletionPage type definition */ @@ -1094,6 +1302,7 @@ bool CCompletionPage::Create( wxWizard* parent ) wxWizardPage::Create( parent, wizardBitmap ); CreateControls(); + GetSizer()->Fit(this); ////@end CCompletionPage creation return TRUE; } @@ -1105,7 +1314,21 @@ bool CCompletionPage::Create( wxWizard* parent ) void CCompletionPage::CreateControls() { ////@begin CCompletionPage content construction - CCompletionPage* itemWizardPage54 = this; + CCompletionPage* itemWizardPage72 = this; + + wxBoxSizer* itemBoxSizer73 = new wxBoxSizer(wxVERTICAL); + itemWizardPage72->SetSizer(itemBoxSizer73); + + wxStaticText* itemStaticText74 = new wxStaticText; + itemStaticText74->Create( itemWizardPage72, wxID_STATIC, _("Wizard Completion"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText74->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer73->Add(itemStaticText74, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText75 = new wxStaticText; + itemStaticText75->Create( itemWizardPage72, wxID_STATIC, _("Congratulations"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer73->Add(itemStaticText75, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer73->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); ////@end CCompletionPage content construction } @@ -1117,7 +1340,7 @@ void CCompletionPage::CreateControls() wxWizardPage* CCompletionPage::GetPrev() const { // TODO: return the previous page - return NULL; + return ((CWizAttachProject*)GetParent())->m_ErrProxyCompletionPage; } /*! @@ -1207,6 +1430,7 @@ bool CErrProjectUnavailablePage::Create( wxWizard* parent ) wxWizardPage::Create( parent, wizardBitmap ); CreateControls(); + GetSizer()->Fit(this); ////@end CErrProjectUnavailablePage creation return TRUE; } @@ -1218,7 +1442,21 @@ bool CErrProjectUnavailablePage::Create( wxWizard* parent ) void CErrProjectUnavailablePage::CreateControls() { ////@begin CErrProjectUnavailablePage content construction - CErrProjectUnavailablePage* itemWizardPage55 = this; + CErrProjectUnavailablePage* itemWizardPage77 = this; + + wxBoxSizer* itemBoxSizer78 = new wxBoxSizer(wxVERTICAL); + itemWizardPage77->SetSizer(itemBoxSizer78); + + wxStaticText* itemStaticText79 = new wxStaticText; + itemStaticText79->Create( itemWizardPage77, wxID_STATIC, _("Project Temporarily Unavailable"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText79->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer78->Add(itemStaticText79, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText80 = new wxStaticText; + itemStaticText80->Create( itemWizardPage77, wxID_STATIC, _("The project may be down for maintenance."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer78->Add(itemStaticText80, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer78->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); ////@end CErrProjectUnavailablePage content construction } @@ -1230,7 +1468,7 @@ void CErrProjectUnavailablePage::CreateControls() wxWizardPage* CErrProjectUnavailablePage::GetPrev() const { // TODO: return the previous page - return NULL; + return ((CWizAttachProject*)GetParent())->m_ProjectInfoPage; } /*! @@ -1240,7 +1478,7 @@ wxWizardPage* CErrProjectUnavailablePage::GetPrev() const wxWizardPage* CErrProjectUnavailablePage::GetNext() const { // TODO: return the next page - return NULL; + return ((CWizAttachProject*)GetParent())->m_CompletionPage; } /*! @@ -1320,6 +1558,7 @@ bool CErrNoInternetConnectionPage::Create( wxWizard* parent ) wxWizardPage::Create( parent, wizardBitmap ); CreateControls(); + GetSizer()->Fit(this); ////@end CErrNoInternetConnectionPage creation return TRUE; } @@ -1331,7 +1570,21 @@ bool CErrNoInternetConnectionPage::Create( wxWizard* parent ) void CErrNoInternetConnectionPage::CreateControls() { ////@begin CErrNoInternetConnectionPage content construction - CErrNoInternetConnectionPage* itemWizardPage56 = this; + CErrNoInternetConnectionPage* itemWizardPage82 = this; + + wxBoxSizer* itemBoxSizer83 = new wxBoxSizer(wxVERTICAL); + itemWizardPage82->SetSizer(itemBoxSizer83); + + wxStaticText* itemStaticText84 = new wxStaticText; + itemStaticText84->Create( itemWizardPage82, wxID_STATIC, _("No Internet Connection Detected"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText84->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer83->Add(itemStaticText84, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText85 = new wxStaticText; + itemStaticText85->Create( itemWizardPage82, wxID_STATIC, _("Could not communicate with the desired project or any of the known\ncomputers on the Internet."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer83->Add(itemStaticText85, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer83->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); ////@end CErrNoInternetConnectionPage content construction } @@ -1343,7 +1596,7 @@ void CErrNoInternetConnectionPage::CreateControls() wxWizardPage* CErrNoInternetConnectionPage::GetPrev() const { // TODO: return the previous page - return NULL; + return ((CWizAttachProject*)GetParent())->m_ProjectInfoPage; } /*! @@ -1353,7 +1606,7 @@ wxWizardPage* CErrNoInternetConnectionPage::GetPrev() const wxWizardPage* CErrNoInternetConnectionPage::GetNext() const { // TODO: return the next page - return NULL; + return ((CWizAttachProject*)GetParent())->m_CompletionPage; } /*! @@ -1433,6 +1686,7 @@ bool CErrAccountAlreadyExistsPage::Create( wxWizard* parent ) wxWizardPage::Create( parent, wizardBitmap ); CreateControls(); + GetSizer()->Fit(this); ////@end CErrAccountAlreadyExistsPage creation return TRUE; } @@ -1444,7 +1698,21 @@ bool CErrAccountAlreadyExistsPage::Create( wxWizard* parent ) void CErrAccountAlreadyExistsPage::CreateControls() { ////@begin CErrAccountAlreadyExistsPage content construction - CErrAccountAlreadyExistsPage* itemWizardPage57 = this; + CErrAccountAlreadyExistsPage* itemWizardPage87 = this; + + wxBoxSizer* itemBoxSizer88 = new wxBoxSizer(wxVERTICAL); + itemWizardPage87->SetSizer(itemBoxSizer88); + + wxStaticText* itemStaticText89 = new wxStaticText; + itemStaticText89->Create( itemWizardPage87, wxID_STATIC, _("Account Already Exists"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText89->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer88->Add(itemStaticText89, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText90 = new wxStaticText; + itemStaticText90->Create( itemWizardPage87, wxID_STATIC, _("The requested account is already in use."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer88->Add(itemStaticText90, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer88->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); ////@end CErrAccountAlreadyExistsPage content construction } @@ -1502,3 +1770,801 @@ wxIcon CErrAccountAlreadyExistsPage::GetIconResource( const wxString& name ) ////@end CErrAccountAlreadyExistsPage icon retrieval } + +/*! + * CErrProxySOCKSPage type definition + */ + +IMPLEMENT_DYNAMIC_CLASS( CErrProxySOCKSPage, wxWizardPage ) + +/*! + * CErrProxySOCKSPage event table definition + */ + +BEGIN_EVENT_TABLE( CErrProxySOCKSPage, wxWizardPage ) + +////@begin CErrProxySOCKSPage event table entries + EVT_BUTTON( ID_SOCKSAUTODETECT, CErrProxySOCKSPage::OnAutodetectClick ) + +////@end CErrProxySOCKSPage event table entries + +END_EVENT_TABLE() + +/*! + * CErrProxySOCKSPage constructors + */ + +CErrProxySOCKSPage::CErrProxySOCKSPage( ) +{ +} + +CErrProxySOCKSPage::CErrProxySOCKSPage( wxWizard* parent ) +{ + Create( parent ); +} + +/*! + * CErrProxyInfoPage creator + */ + +bool CErrProxySOCKSPage::Create( wxWizard* parent ) +{ +////@begin CErrProxySOCKSPage member initialisation +////@end CErrProxySOCKSPage member initialisation + +////@begin CErrProxySOCKSPage creation + wxBitmap wizardBitmap(wxNullBitmap); + wxWizardPage::Create( parent, wizardBitmap ); + + CreateControls(); + GetSizer()->Fit(this); +////@end CErrProxySOCKSPage creation + return TRUE; +} + +/*! + * Control creation for CErrProxyInfoPage + */ + +void CErrProxySOCKSPage::CreateControls() +{ +////@begin CErrProxySOCKSPage content construction + CErrProxySOCKSPage* itemWizardPage114 = this; + + wxBoxSizer* itemBoxSizer115 = new wxBoxSizer(wxVERTICAL); + itemWizardPage114->SetSizer(itemBoxSizer115); + + wxStaticText* itemStaticText116 = new wxStaticText; + itemStaticText116->Create( itemWizardPage114, wxID_STATIC, _("Proxy Configuration - SOCKS Proxy"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText116->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer115->Add(itemStaticText116, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText117 = new wxStaticText; + itemStaticText117->Create( itemWizardPage114, wxID_STATIC, _("Do you need to configure a proxy server?"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer115->Add(itemStaticText117, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer115->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer115->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + + wxButton* itemButton120 = new wxButton; + itemButton120->Create( itemWizardPage114, ID_SOCKSAUTODETECT, _("Autodetect"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer115->Add(itemButton120, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); + + wxFlexGridSizer* itemFlexGridSizer121 = new wxFlexGridSizer(3, 2, 0, 0); + itemFlexGridSizer121->AddGrowableCol(1); + itemBoxSizer115->Add(itemFlexGridSizer121, 0, wxGROW|wxALL, 5); + + wxStaticText* itemStaticText122 = new wxStaticText; + itemStaticText122->Create( itemWizardPage114, wxID_STATIC, _("Server:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer121->Add(itemStaticText122, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxFlexGridSizer* itemFlexGridSizer123 = new wxFlexGridSizer(1, 3, 0, 0); + itemFlexGridSizer123->AddGrowableCol(0); + itemFlexGridSizer121->Add(itemFlexGridSizer123, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 0); + + wxTextCtrl* itemTextCtrl124 = new wxTextCtrl; + itemTextCtrl124->Create( itemWizardPage114, ID_TEXTCTRL4, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer123->Add(itemTextCtrl124, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxStaticText* itemStaticText125 = new wxStaticText; + itemStaticText125->Create( itemWizardPage114, wxID_STATIC, _("Port:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer123->Add(itemStaticText125, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxTextCtrl* itemTextCtrl126 = new wxTextCtrl; + itemTextCtrl126->Create( itemWizardPage114, ID_TEXTCTRL5, _T(""), wxDefaultPosition, wxSize(50, -1), 0 ); + itemFlexGridSizer123->Add(itemTextCtrl126, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxStaticText* itemStaticText127 = new wxStaticText; + itemStaticText127->Create( itemWizardPage114, wxID_STATIC, _("User Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer121->Add(itemStaticText127, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxTextCtrl* itemTextCtrl128 = new wxTextCtrl; + itemTextCtrl128->Create( itemWizardPage114, ID_TEXTCTRL6, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer121->Add(itemTextCtrl128, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxStaticText* itemStaticText129 = new wxStaticText; + itemStaticText129->Create( itemWizardPage114, wxID_STATIC, _("Password:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer121->Add(itemStaticText129, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxTextCtrl* itemTextCtrl130 = new wxTextCtrl; + itemTextCtrl130->Create( itemWizardPage114, ID_TEXTCTRL7, _T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); + itemFlexGridSizer121->Add(itemTextCtrl130, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + +////@end CErrProxySOCKSPage content construction +} + +/*! + * Gets the previous page. + */ + +wxWizardPage* CErrProxySOCKSPage::GetPrev() const +{ + // TODO: return the previous page + return ((CWizAttachProject*)GetParent())->m_ErrProxyHTTPPage; +} + +/*! + * Gets the next page. + */ + +wxWizardPage* CErrProxySOCKSPage::GetNext() const +{ + // TODO: return the next page + return ((CWizAttachProject*)GetParent())->m_ErrProxyCompletionPage; +} + +/*! + * Should we show tooltips? + */ + +bool CErrProxySOCKSPage::ShowToolTips() +{ + return TRUE; +} + +/*! + * Get bitmap resources + */ + +wxBitmap CErrProxySOCKSPage::GetBitmapResource( const wxString& name ) +{ + // Bitmap retrieval +////@begin CErrProxySOCKSPage bitmap retrieval + return wxNullBitmap; +////@end CErrProxySOCKSPage bitmap retrieval +} + +/*! + * Get icon resources + */ + +wxIcon CErrProxySOCKSPage::GetIconResource( const wxString& name ) +{ + // Icon retrieval +////@begin CErrProxySOCKSPage icon retrieval + return wxNullIcon; +////@end CErrProxySOCKSPage icon retrieval +} + +/*! + * wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SOCKSAUTODETECT + */ + +void CErrProxySOCKSPage::OnAutodetectClick( wxCommandEvent& event ) +{ + event.Skip(); +} + + +/*! + * CErrProxyInfoPage type definition + */ + +IMPLEMENT_DYNAMIC_CLASS( CErrProxyInfoPage, wxWizardPage ) + +/*! + * CErrProxyInfoPage event table definition + */ + +BEGIN_EVENT_TABLE( CErrProxyInfoPage, wxWizardPage ) + +////@begin CErrProxyInfoPage event table entries +////@end CErrProxyInfoPage event table entries + +END_EVENT_TABLE() + +/*! + * CErrProxyInfoPage constructors + */ + +CErrProxyInfoPage::CErrProxyInfoPage( ) +{ +} + +CErrProxyInfoPage::CErrProxyInfoPage( wxWizard* parent ) +{ + Create( parent ); +} + +/*! + * CErrProxyInfoPage creator + */ + +bool CErrProxyInfoPage::Create( wxWizard* parent ) +{ +////@begin CErrProxyInfoPage member initialisation +////@end CErrProxyInfoPage member initialisation + +////@begin CErrProxyInfoPage creation + wxBitmap wizardBitmap(wxNullBitmap); + wxWizardPage::Create( parent, wizardBitmap ); + + CreateControls(); + GetSizer()->Fit(this); +////@end CErrProxyInfoPage creation + return TRUE; +} + +/*! + * Control creation for CErrProxyInfoPage + */ + +void CErrProxyInfoPage::CreateControls() +{ +////@begin CErrProxyInfoPage content construction + CErrProxyInfoPage* itemWizardPage92 = this; + + wxBoxSizer* itemBoxSizer93 = new wxBoxSizer(wxVERTICAL); + itemWizardPage92->SetSizer(itemBoxSizer93); + + wxStaticText* itemStaticText94 = new wxStaticText; + itemStaticText94->Create( itemWizardPage92, wxID_STATIC, _("Proxy Configuration"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText94->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer93->Add(itemStaticText94, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText95 = new wxStaticText; + itemStaticText95->Create( itemWizardPage92, wxID_STATIC, _("Do you need to configure a proxy server?"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer93->Add(itemStaticText95, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer93->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + +////@end CErrProxyInfoPage content construction +} + +/*! + * Gets the previous page. + */ + +wxWizardPage* CErrProxyInfoPage::GetPrev() const +{ + // TODO: return the previous page + return ((CWizAttachProject*)GetParent())->m_ProjectInfoPage; +} + +/*! + * Gets the next page. + */ + +wxWizardPage* CErrProxyInfoPage::GetNext() const +{ + // TODO: return the next page + return ((CWizAttachProject*)GetParent())->m_ErrProxyHTTPPage; +} + +/*! + * Should we show tooltips? + */ + +bool CErrProxyInfoPage::ShowToolTips() +{ + return TRUE; +} + +/*! + * Get bitmap resources + */ + +wxBitmap CErrProxyInfoPage::GetBitmapResource( const wxString& name ) +{ + // Bitmap retrieval +////@begin CErrProxyInfoPage bitmap retrieval + return wxNullBitmap; +////@end CErrProxyInfoPage bitmap retrieval +} + +/*! + * Get icon resources + */ + +wxIcon CErrProxyInfoPage::GetIconResource( const wxString& name ) +{ + // Icon retrieval +////@begin CErrProxyInfoPage icon retrieval + return wxNullIcon; +////@end CErrProxyInfoPage icon retrieval +} + +/*! + * CErrProxyHTTPPage type definition + */ + +IMPLEMENT_DYNAMIC_CLASS( CErrProxyHTTPPage, wxWizardPage ) + +/*! + * CErrProxyHTTPPage event table definition + */ + +BEGIN_EVENT_TABLE( CErrProxyHTTPPage, wxWizardPage ) + +////@begin CErrProxyHTTPPage event table entries + EVT_BUTTON( ID_HTTPAUTODETECT, CErrProxyHTTPPage::OnAutodetectClick ) + +////@end CErrProxyHTTPPage event table entries + +END_EVENT_TABLE() + +/*! + * CErrProxyHTTPPage constructors + */ + +CErrProxyHTTPPage::CErrProxyHTTPPage( ) +{ +} + +CErrProxyHTTPPage::CErrProxyHTTPPage( wxWizard* parent ) +{ + Create( parent ); +} + +/*! + * CErrProxyHTTPPage creator + */ + +bool CErrProxyHTTPPage::Create( wxWizard* parent ) +{ +////@begin CErrProxyHTTPPage member initialisation +////@end CErrProxyHTTPPage member initialisation + +////@begin CErrProxyHTTPPage creation + wxBitmap wizardBitmap(wxNullBitmap); + wxWizardPage::Create( parent, wizardBitmap ); + + CreateControls(); + GetSizer()->Fit(this); +////@end CErrProxyHTTPPage creation + return TRUE; +} + +/*! + * Control creation for CErrProxyHTTPPage + */ + +void CErrProxyHTTPPage::CreateControls() +{ +////@begin CErrProxyHTTPPage content construction + CErrProxyHTTPPage* itemWizardPage97 = this; + + wxBoxSizer* itemBoxSizer98 = new wxBoxSizer(wxVERTICAL); + itemWizardPage97->SetSizer(itemBoxSizer98); + + wxStaticText* itemStaticText99 = new wxStaticText; + itemStaticText99->Create( itemWizardPage97, wxID_STATIC, _("Proxy Configuration - HTTP Proxy"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText99->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer98->Add(itemStaticText99, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText100 = new wxStaticText; + itemStaticText100->Create( itemWizardPage97, wxID_STATIC, _("Do you need to configure a proxy server?"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer98->Add(itemStaticText100, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer98->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer98->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + + wxButton* itemButton103 = new wxButton; + itemButton103->Create( itemWizardPage97, ID_HTTPAUTODETECT, _("Autodetect"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer98->Add(itemButton103, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); + + wxFlexGridSizer* itemFlexGridSizer104 = new wxFlexGridSizer(3, 2, 0, 0); + itemFlexGridSizer104->AddGrowableCol(1); + itemBoxSizer98->Add(itemFlexGridSizer104, 0, wxGROW|wxALL, 5); + + wxStaticText* itemStaticText105 = new wxStaticText; + itemStaticText105->Create( itemWizardPage97, wxID_STATIC, _("Server:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer104->Add(itemStaticText105, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxFlexGridSizer* itemFlexGridSizer106 = new wxFlexGridSizer(1, 3, 0, 0); + itemFlexGridSizer106->AddGrowableCol(0); + itemFlexGridSizer104->Add(itemFlexGridSizer106, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 0); + + wxTextCtrl* itemTextCtrl107 = new wxTextCtrl; + itemTextCtrl107->Create( itemWizardPage97, ID_TEXTCTRL, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer106->Add(itemTextCtrl107, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxStaticText* itemStaticText108 = new wxStaticText; + itemStaticText108->Create( itemWizardPage97, wxID_STATIC, _("Port:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer106->Add(itemStaticText108, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxTextCtrl* itemTextCtrl109 = new wxTextCtrl; + itemTextCtrl109->Create( itemWizardPage97, ID_TEXTCTRL1, _T(""), wxDefaultPosition, wxSize(50, -1), 0 ); + itemFlexGridSizer106->Add(itemTextCtrl109, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxStaticText* itemStaticText110 = new wxStaticText; + itemStaticText110->Create( itemWizardPage97, wxID_STATIC, _("User Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer104->Add(itemStaticText110, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxTextCtrl* itemTextCtrl111 = new wxTextCtrl; + itemTextCtrl111->Create( itemWizardPage97, ID_TEXTCTRL2, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer104->Add(itemTextCtrl111, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxStaticText* itemStaticText112 = new wxStaticText; + itemStaticText112->Create( itemWizardPage97, wxID_STATIC, _("Password:"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer104->Add(itemStaticText112, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxTextCtrl* itemTextCtrl113 = new wxTextCtrl; + itemTextCtrl113->Create( itemWizardPage97, ID_TEXTCTRL3, _T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); + itemFlexGridSizer104->Add(itemTextCtrl113, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5); + +////@end CErrProxyHTTPPage content construction +} + +/*! + * Gets the previous page. + */ + +wxWizardPage* CErrProxyHTTPPage::GetPrev() const +{ + // TODO: return the previous page + return ((CWizAttachProject*)GetParent())->m_ErrProxyInfoPage; +} + +/*! + * Gets the next page. + */ + +wxWizardPage* CErrProxyHTTPPage::GetNext() const +{ + // TODO: return the next page + return ((CWizAttachProject*)GetParent())->m_ErrProxySOCKSPage; +} + +/*! + * Should we show tooltips? + */ + +bool CErrProxyHTTPPage::ShowToolTips() +{ + return TRUE; +} + +/*! + * Get bitmap resources + */ + +wxBitmap CErrProxyHTTPPage::GetBitmapResource( const wxString& name ) +{ + // Bitmap retrieval +////@begin CErrProxyHTTPPage bitmap retrieval + return wxNullBitmap; +////@end CErrProxyHTTPPage bitmap retrieval +} + +/*! + * Get icon resources + */ + +wxIcon CErrProxyHTTPPage::GetIconResource( const wxString& name ) +{ + // Icon retrieval +////@begin CErrProxyHTTPPage icon retrieval + return wxNullIcon; +////@end CErrProxyHTTPPage icon retrieval +} + +/*! + * wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_HTTPAUTODETECT + */ + +void CErrProxyHTTPPage::OnAutodetectClick( wxCommandEvent& event ) +{ + event.Skip(); +} + + +/*! + * CErrProxyComplationPage type definition + */ + +IMPLEMENT_DYNAMIC_CLASS( CErrProxyComplationPage, wxWizardPage ) + +/*! + * CErrProxyComplationPage event table definition + */ + +BEGIN_EVENT_TABLE( CErrProxyComplationPage, wxWizardPage ) + +////@begin CErrProxyComplationPage event table entries +////@end CErrProxyComplationPage event table entries + +END_EVENT_TABLE() + +/*! + * CErrProxyComplationPage constructors + */ + +CErrProxyComplationPage::CErrProxyComplationPage( ) +{ +} + +CErrProxyComplationPage::CErrProxyComplationPage( wxWizard* parent ) +{ + Create( parent ); +} + +/*! + * CErrProxyComplationPage creator + */ + +bool CErrProxyComplationPage::Create( wxWizard* parent ) +{ +////@begin CErrProxyComplationPage member initialisation +////@end CErrProxyComplationPage member initialisation + +////@begin CErrProxyComplationPage creation + wxBitmap wizardBitmap(wxNullBitmap); + wxWizardPage::Create( parent, wizardBitmap ); + + CreateControls(); + GetSizer()->Fit(this); +////@end CErrProxyComplationPage creation + return TRUE; +} + +/*! + * Control creation for CErrProxyComplationPage + */ + +void CErrProxyComplationPage::CreateControls() +{ +////@begin CErrProxyComplationPage content construction + CErrProxyComplationPage* itemWizardPage131 = this; + + wxBoxSizer* itemBoxSizer132 = new wxBoxSizer(wxVERTICAL); + itemWizardPage131->SetSizer(itemBoxSizer132); + + wxStaticText* itemStaticText133 = new wxStaticText; + itemStaticText133->Create( itemWizardPage131, wxID_STATIC, _("Proxy Configuration Completion"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText133->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer132->Add(itemStaticText133, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText134 = new wxStaticText; + itemStaticText134->Create( itemWizardPage131, wxID_STATIC, _("Do you need to configure a proxy server?"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer132->Add(itemStaticText134, 0, wxALIGN_LEFT|wxALL, 5); + + itemBoxSizer132->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + +////@end CErrProxyComplationPage content construction +} + +/*! + * Gets the previous page. + */ + +wxWizardPage* CErrProxyComplationPage::GetPrev() const +{ + // TODO: return the previous page + return ((CWizAttachProject*)GetParent())->m_ErrProxySOCKSPage; +} + +/*! + * Gets the next page. + */ + +wxWizardPage* CErrProxyComplationPage::GetNext() const +{ + // TODO: return the next page + return ((CWizAttachProject*)GetParent())->m_CompletionPage; +} + +/*! + * Should we show tooltips? + */ + +bool CErrProxyComplationPage::ShowToolTips() +{ + return TRUE; +} + +/*! + * Get bitmap resources + */ + +wxBitmap CErrProxyComplationPage::GetBitmapResource( const wxString& name ) +{ + // Bitmap retrieval +////@begin CErrProxyComplationPage bitmap retrieval + return wxNullBitmap; +////@end CErrProxyComplationPage bitmap retrieval +} + +/*! + * Get icon resources + */ + +wxIcon CErrProxyComplationPage::GetIconResource( const wxString& name ) +{ + // Icon retrieval +////@begin CErrProxyComplationPage icon retrieval + return wxNullIcon; +////@end CErrProxyComplationPage icon retrieval +} + +/*! + * CAccountCreationPage type definition + */ + +IMPLEMENT_DYNAMIC_CLASS( CAccountCreationPage, wxWizardPage ) + +/*! + * CAccountCreationPage event table definition + */ + +BEGIN_EVENT_TABLE( CAccountCreationPage, wxWizardPage ) + +////@begin CAccountCreationPage event table entries + EVT_WIZARD_PAGE_CHANGED( -1, CAccountCreationPage::OnPageChanged ) + +////@end CAccountCreationPage event table entries + +END_EVENT_TABLE() + +/*! + * CAccountCreationPage constructors + */ + +CAccountCreationPage::CAccountCreationPage( ) +{ +} + +CAccountCreationPage::CAccountCreationPage( wxWizard* parent ) +{ + Create( parent ); +} + +/*! + * CProjectPropertiesPage creator + */ + +bool CAccountCreationPage::Create( wxWizard* parent ) +{ +////@begin CAccountCreationPage member initialisation + m_CommBOINCProjectImageCtrl = NULL; + m_CommBOINCProjectCtrl = NULL; + m_FinalAccountCreationStatusCtrl = NULL; +////@end CAccountCreationPage member initialisation + +////@begin CAccountCreationPage creation + wxBitmap wizardBitmap(wxNullBitmap); + wxWizardPage::Create( parent, wizardBitmap ); + + CreateControls(); + GetSizer()->Fit(this); +////@end CAccountCreationPage creation + return TRUE; +} + +/*! + * Control creation for CProjectPropertiesPage + */ + +void CAccountCreationPage::CreateControls() +{ +////@begin CAccountCreationPage content construction + CAccountCreationPage* itemWizardPage62 = this; + + wxBoxSizer* itemBoxSizer63 = new wxBoxSizer(wxVERTICAL); + itemWizardPage62->SetSizer(itemBoxSizer63); + + wxStaticText* itemStaticText64 = new wxStaticText; + itemStaticText64->Create( itemWizardPage62, wxID_STATIC, _("Account Creation"), wxDefaultPosition, wxDefaultSize, 0 ); + itemStaticText64->SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, FALSE, _T("Verdana"))); + itemBoxSizer63->Add(itemStaticText64, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + + wxStaticText* itemStaticText65 = new wxStaticText; + itemStaticText65->Create( itemWizardPage62, wxID_STATIC, _("This wizard is now attempting to create a new account or validate your\nexisting account."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer63->Add(itemStaticText65, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + + itemBoxSizer63->Add(5, 5, 0, wxALIGN_LEFT|wxALL, 5); + + wxStaticText* itemStaticText67 = new wxStaticText; + itemStaticText67->Create( itemWizardPage62, wxID_STATIC, _("If this wizard cannot reach the project server, it'll attempt to contact a\ncouple known good websites in an effort to help diagnose the problem."), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer63->Add(itemStaticText67, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + + wxFlexGridSizer* itemFlexGridSizer68 = new wxFlexGridSizer(0, 2, 0, 0); + itemBoxSizer63->Add(itemFlexGridSizer68, 0, wxALIGN_LEFT|wxALL, 5); + + wxBitmap m_CommBOINCProjectImageCtrlBitmap(itemWizardPage62->GetBitmapResource(wxT("res/wizquestion.xpm"))); + m_CommBOINCProjectImageCtrl = new wxStaticBitmap; + m_CommBOINCProjectImageCtrl->Create( itemWizardPage62, ID_COMMBOINCPROJECTIMAGECTRL, m_CommBOINCProjectImageCtrlBitmap, wxDefaultPosition, wxSize(16, 16), 0 ); + itemFlexGridSizer68->Add(m_CommBOINCProjectImageCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + + m_CommBOINCProjectCtrl = new wxStaticText; + m_CommBOINCProjectCtrl->Create( itemWizardPage62, ID_COMMBOINCPROJECTCTRL, _("Communicating with BOINC project"), wxDefaultPosition, wxDefaultSize, 0 ); + itemFlexGridSizer68->Add(m_CommBOINCProjectCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL|wxADJUST_MINSIZE, 5); + + m_FinalAccountCreationStatusCtrl = new wxStaticText; + m_FinalAccountCreationStatusCtrl->Create( itemWizardPage62, ID_FINALACCOUNTCREATIONSTATUSCTRL, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer63->Add(m_FinalAccountCreationStatusCtrl, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + +////@end CAccountCreationPage content construction +} + +/*! + * wxEVT_WIZARD_PAGE_CHANGED event handler for ID_PROJECTPROPPAGE + */ + +void CAccountCreationPage::OnPageChanged( wxWizardEvent& event ) +{ +////@begin wxEVT_WIZARD_PAGE_CHANGED event handler for ID_PROJECTPROPPAGE in CProjectPropertiesPage. + // Before editing this code, remove the block markers. + event.Skip(); +////@end wxEVT_WIZARD_PAGE_CHANGED event handler for ID_PROJECTPROPPAGE in CProjectPropertiesPage. +} + +/*! + * Gets the previous page. + */ + +wxWizardPage* CAccountCreationPage::GetPrev() const +{ + // TODO: return the previous page + return NULL; +} + +/*! + * Gets the next page. + */ + +wxWizardPage* CAccountCreationPage::GetNext() const +{ + // TODO: return the next page + return NULL; +} + +/*! + * Should we show tooltips? + */ + +bool CAccountCreationPage::ShowToolTips() +{ + return TRUE; +} + +/*! + * Get bitmap resources + */ + +wxBitmap CAccountCreationPage::GetBitmapResource( const wxString& name ) +{ + // Bitmap retrieval +////@begin CAccountCreationPage bitmap retrieval + if (name == wxT("res/wizquestion.xpm")) + { + wxBitmap bitmap(wizquestion_xpm); + return bitmap; + } + return wxNullBitmap; +////@end CAccountCreationPage bitmap retrieval +} + +/*! + * Get icon resources + */ + +wxIcon CAccountCreationPage::GetIconResource( const wxString& name ) +{ + // Icon retrieval +////@begin CAccountCreationPage icon retrieval + return wxNullIcon; +////@end CAccountCreationPage icon retrieval +} diff --git a/clientgui/WizAttachProject.h b/clientgui/WizAttachProject.h index c538077b41..9fc3a2ec30 100644 --- a/clientgui/WizAttachProject.h +++ b/clientgui/WizAttachProject.h @@ -42,12 +42,17 @@ ////@begin forward declarations class CWelcomePage; class CProjectInfoPage; +class CProjectPropertiesPage; class CAccountInfoPage; class CAccountCreationPage; class CCompletionPage; class CErrProjectUnavailablePage; class CErrNoInternetConnectionPage; class CErrAccountAlreadyExistsPage; +class CErrProxyInfoPage; +class CErrProxyHTTPPage; +class CErrProxySOCKSPage; +class CErrProxyComplationPage; ////@end forward declarations /*! @@ -58,10 +63,27 @@ class CErrAccountAlreadyExistsPage; #define ID_ATTACHPROJECTWIZARD 10032 #define SYMBOL_CWIZATTACHPROJECT_IDNAME ID_ATTACHPROJECTWIZARD #define ID_WELCOMEPAGE 10033 +#define ID_ERRPROJECTPROPERTIES 10047 +#define ID_ERRPROJECTCOMM 10052 +#define ID_ERRGOOGLECOMM 10053 +#define ID_ERRPROJECTUNAVAILABLE 10054 +#define ID_ERRYAHOOCOMM 10055 +#define ID_ERRACCOUNTALREADYEXISTS 10056 +#define ID_ERRNETDETECTION 10057 #define ID_PROJECTINFOPAGE 10034 #define ID_PROJECTURLSTATICCTRL 10046 #define ID_PROJECTURLCTRL 10035 #define ID_PROJECRINFOBOINCLINK 10036 +#define ID_PROJECTPROPERTIESPAGE 10017 +#define ID_RETRPROJECTPROPERTIESIMAGECTRL 10018 +#define ID_RETRPROJECTPROPERTIESCTRL 10019 +#define ID_COMMYAHOOIMAGECTRL 10010 +#define ID_COMMYAHOOCTRL 10011 +#define ID_COMMGOOGLEIMAGECTRL 10012 +#define ID_COMMGOOGLECTRL 10013 +#define ID_DETERMINECONNECTIONSTATUSIMAGECTRL 10014 +#define ID_DETERMINECONNECTIONSTATUSCTRL 10015 +#define ID_STATICTEXT4 10026 #define ID_ACCOUNTINFOPAGE 10037 #define ID_ACCOUNTCREATECTRL 10038 #define ID_ACCOUNTUSEEXISTINGCTRL 10039 @@ -71,20 +93,28 @@ class CErrAccountAlreadyExistsPage; #define ID_ACCOUNTPASSWORDCTRL 10041 #define ID_ACCOUNTCONFIRMPASSWORDSTATICCTRL 10043 #define ID_ACCOUNTCONFIRMPASSWORDCTRL 10042 -#define ID_ACCOUNTCREATIONPAGE 10047 -#define ID_COMMBOINCPROJECTIMAGECTRL 10052 -#define ID_COMMBOINCPROJECTCTRL 10053 -#define ID_COMMYAHOOIMAGECTRL 10054 -#define ID_COMMYAHOOCTRL 10053 -#define ID_COMMGOOGLEIMAGECTRL 10055 -#define ID_COMMGOOGLECTRL 10056 -#define ID_DETERMINECONNECTIONSTATUSIMAGECTRL 10057 -#define ID_DETERMINECONNECTIONSTATUSCTRL 10058 -#define ID_FINALACCOUNTCREATIONSTATUSCTRL 10059 +#define ID_ACCOUNTCREATIONPAGE 10017 +#define ID_COMMBOINCPROJECTIMAGECTRL 10008 +#define ID_COMMBOINCPROJECTCTRL 10009 +#define ID_FINALACCOUNTCREATIONSTATUSCTRL 10016 #define ID_COMPLETIONPAGE 10048 #define ID_ERRPROJECTUNAVAILABLEPAGE 10049 #define ID_ERRNOINTERNETCONNECTIONPAGE 10050 #define ID_ERRACCOUNTALREADYEXISTSPAGE 10051 +#define ID_ERRPROXYINFOPAGE 10060 +#define ID_ERRPROXYHTTPPAGE 10061 +#define ID_HTTPAUTODETECT 10064 +#define ID_TEXTCTRL 10000 +#define ID_TEXTCTRL1 10001 +#define ID_TEXTCTRL2 10066 +#define ID_TEXTCTRL3 10067 +#define ID_ERRPROXYSOCKSPAGE 10062 +#define ID_SOCKSAUTODETECT 10006 +#define ID_TEXTCTRL4 10002 +#define ID_TEXTCTRL5 10003 +#define ID_TEXTCTRL6 10004 +#define ID_TEXTCTRL7 10005 +#define ID_ERRPROXYCOMPLETIONPAGE 10063 ////@end control identifiers /*! @@ -98,6 +128,20 @@ class CErrAccountAlreadyExistsPage; #define wxFIXED_MINSIZE 0 #endif + +/*! + * CWizAttachProject debug flags + */ + +#define WIZDEBUG_ERRPROJECTPROPERTIES 0x00000001 +#define WIZDEBUG_ERRYAHOOCOMM 0x00000002 +#define WIZDEBUG_ERRGOOGLECOMM 0x00000004 +#define WIZDEBUG_ERRNETDETECTION 0x00000008 +#define WIZDEBUG_ERRPROJECTCOMM 0x00000010 +#define WIZDEBUG_ERRPROJECTUNAVAILABLE 0x00000020 +#define WIZDEBUG_ERRACCOUNTALREADYEXISTS 0x00000040 + + /*! * CWizAttachProject class declaration */ @@ -137,19 +181,34 @@ public: wxIcon GetIconResource( const wxString& name ); ////@end CWizAttachProject member function declarations + /// Overrides + virtual bool HasNextPage( wxWizardPage* page ); + virtual bool HasPrevPage( wxWizardPage* page ); + + /// Diagnostics functions + void SetDiagFlags( unsigned long ulFlags ); + bool IsDiagFlagsSet( unsigned long ulFlags ); + /// Should we show tooltips? static bool ShowToolTips(); ////@begin CWizAttachProject member variables CWelcomePage* m_WelcomePage; CProjectInfoPage* m_ProjectInfoPage; + CProjectPropertiesPage* m_ProjectPropertiesPage; CAccountInfoPage* m_AccountInfoPage; CAccountCreationPage* m_AccountCreationPage; CCompletionPage* m_CompletionPage; CErrProjectUnavailablePage* m_ErrProjectUnavailablePage; CErrNoInternetConnectionPage* m_ErrNoInternetConnectionPage; CErrAccountAlreadyExistsPage* m_ErrAccountAlreadyExistsPage; + CErrProxyInfoPage* m_ErrProxyInfoPage; + CErrProxyHTTPPage* m_ErrProxyHTTPPage; + CErrProxySOCKSPage* m_ErrProxySOCKSPage; + CErrProxyComplationPage* m_ErrProxyCompletionPage; ////@end CWizAttachProject member variables + + unsigned long m_ulDiagFlags; }; /*! @@ -175,6 +234,9 @@ public: ////@begin CWelcomePage event handler declarations + /// wxEVT_WIZARD_PAGE_CHANGING event handler for ID_WELCOMEPAGE + void OnPageChanging( wxWizardEvent& event ); + ////@end CWelcomePage event handler declarations ////@begin CWelcomePage member function declarations @@ -196,6 +258,13 @@ public: static bool ShowToolTips(); ////@begin CWelcomePage member variables + wxCheckBox* m_ErrProjectPropertiesCtrl; + wxCheckBox* m_ErrProjectCommCtrl; + wxCheckBox* m_ErrGoogleCommCtrl; + wxCheckBox* m_ErrProjectUnavailableCtrl; + wxCheckBox* m_ErrYahooCommCtrl; + wxCheckBox* m_ErrAccountAlreadyExistsCtrl; + wxCheckBox* m_ErrNetDetectionCtrl; ////@end CWelcomePage member variables }; @@ -252,6 +321,127 @@ public: ////@end CProjectInfoPage member variables }; +/*! + * CProjectPropertiesPage custom events + */ + +class CProjectPropertiesPageEvent : public wxEvent +{ +public: + CProjectPropertiesPageEvent(wxEventType evtType, wxWizardPage *parent) + : wxEvent(-1, evtType) + { + SetEventObject(parent); + } + + virtual wxEvent *Clone() const { return new CProjectPropertiesPageEvent(*this); } +}; + + +BEGIN_DECLARE_EVENT_TYPES() +DECLARE_EVENT_TYPE( wxEVT_PROJECTPROPERTIES_STATECHANGE, 11000 ) +END_DECLARE_EVENT_TYPES() + +#define EVT_PROJECTPROPERTIES_STATECHANGE(fn) \ + DECLARE_EVENT_TABLE_ENTRY(wxEVT_PROJECTPROPERTIES_STATECHANGE, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), + +/*! + * CProjectPropertiesPage states + */ + +#define PROJPROP_INIT 0 +#define PROJPROP_RETRPROJECTPROPERTIES_BEGIN 1 +#define PROJPROP_RETRPROJECTPROPERTIES_EXECUTE 2 +#define PROJPROP_COMMUNICATEYAHOO_BEGIN 3 +#define PROJPROP_COMMUNICATEYAHOO_EXECUTE 4 +#define PROJPROP_COMMUNICATEGOOGLE_BEGIN 5 +#define PROJPROP_COMMUNICATEGOOGLE_EXECUTE 6 +#define PROJPROP_DETERMINENETWORKSTATUS_BEGIN 7 +#define PROJPROP_DETERMINENETWORKSTATUS_EXECUTE 8 +#define PROJPROP_END 9 + +/*! + * CProjectPropertiesPage class declaration + */ + +class CProjectPropertiesPage: public wxWizardPage +{ + DECLARE_DYNAMIC_CLASS( CProjectPropertiesPage ) + DECLARE_EVENT_TABLE() + +public: + /// Constructors + CProjectPropertiesPage( ); + + CProjectPropertiesPage( wxWizard* parent ); + + /// Creation + bool Create( wxWizard* parent ); + + /// Creates the controls and sizers + void CreateControls(); + +////@begin CProjectPropertiesPage event handler declarations + + /// wxEVT_WIZARD_PAGE_CHANGED event handler for ID_PROJECTPROPERTIESPAGE + void OnPageChanged( wxWizardEvent& event ); + +////@end CProjectPropertiesPage event handler declarations + + void OnStateChange( CProjectPropertiesPageEvent& event ); + +////@begin CProjectPropertiesPage member function declarations + + /// Gets the previous page. + virtual wxWizardPage* GetPrev() const; + + /// Gets the next page. + virtual wxWizardPage* GetNext() const; + + /// Retrieves bitmap resources + wxBitmap GetBitmapResource( const wxString& name ); + + /// Retrieves icon resources + wxIcon GetIconResource( const wxString& name ); +////@end CProjectPropertiesPage member function declarations + + bool GetProjectPropertiesSucceeded() const { return m_bProjectPropertiesSucceeded ; } + void SetProjectPropertiesSucceeded(bool value) { m_bProjectPropertiesSucceeded = value ; } + + bool GetCommunicateYahooSucceeded() const { return m_bCommunicateYahooSucceeded ; } + void SetCommunicateYahooSucceeded(bool value) { m_bCommunicateYahooSucceeded = value ; } + + bool GetCommunicateGoogleSucceeded() const { return m_bCommunicateGoogleSucceeded ; } + void SetCommunicateGoogleSucceeded(bool value) { m_bCommunicateGoogleSucceeded = value ; } + + bool GetDeterminingConnectionStatusSucceeded() const { return m_bDeterminingConnectionStatusSucceeded ; } + void SetDeterminingConnectionStatusSucceeded(bool value) { m_bDeterminingConnectionStatusSucceeded = value ; } + + wxInt32 GetCurrentState() const { return m_iCurrentState ; } + void SetNextState(wxInt32 value) { m_iCurrentState = value ; } + + /// Should we show tooltips? + static bool ShowToolTips(); + +////@begin CProjectPropertiesPage member variables + wxStaticBitmap* m_RetrProjectPropertiesImageCtrl; + wxStaticText* m_RetrProjectPropertiesCtrl; + wxStaticBitmap* m_CommYahooImageCtrl; + wxStaticText* m_CommYahooCtrl; + wxStaticBitmap* m_CommGoogleImageCtrl; + wxStaticText* m_CommGoogleCtrl; + wxStaticBitmap* m_DetermineConnectionStatusImageCtrl; + wxStaticText* m_DetermineConnectionStatusCtrl; + wxStaticText* m_FinalAccountCreationStatusCtrl; +////@end CProjectPropertiesPage member variables + + bool m_bProjectPropertiesSucceeded; + bool m_bCommunicateYahooSucceeded; + bool m_bCommunicateGoogleSucceeded; + bool m_bDeterminingConnectionStatusSucceeded; + wxInt32 m_iCurrentState; +}; + /*! * CAccountInfoPage class declaration */ @@ -334,92 +524,6 @@ public: }; -/*! - * CAccountCreatePage custom events - */ - -class CAccountCreationPageEvent : public wxEvent -{ -public: - CAccountCreationPageEvent(wxEventType evtType, wxWizardPage *parent) - : wxEvent(-1, evtType) - { - SetEventObject(parent); - } - - virtual wxEvent *Clone() const { return new CAccountCreationPageEvent(*this); } -}; - - -BEGIN_DECLARE_EVENT_TYPES() -DECLARE_EVENT_TYPE( wxEVT_ACCOUNTCREATION_STATECHANGE, 10000 ) -END_DECLARE_EVENT_TYPES() - -#define EVT_ACCOUNTCREATION_STATECHANGE(fn) \ - DECLARE_EVENT_TABLE_ENTRY(wxEVT_ACCOUNTCREATION_STATECHANGE, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), - -/*! - * CAccountCreationPage class declaration - */ - -class CAccountCreationPage: public wxWizardPage -{ - DECLARE_DYNAMIC_CLASS( CAccountCreationPage ) - DECLARE_EVENT_TABLE() - -public: - /// Constructors - CAccountCreationPage( ); - - CAccountCreationPage( wxWizard* parent ); - - /// Creation - bool Create( wxWizard* parent ); - - /// Creates the controls and sizers - void CreateControls(); - -////@begin CAccountCreationPage event handler declarations - - /// wxEVT_WIZARD_PAGE_CHANGED event handler for ID_ACCOUNTCREATIONPAGE - void OnPageChanged( wxWizardEvent& event ); - -////@end CAccountCreationPage event handler declarations - - void OnStateChange( CAccountCreationPageEvent& event ); - -////@begin CAccountCreationPage member function declarations - - /// Gets the previous page. - virtual wxWizardPage* GetPrev() const; - - /// Gets the next page. - virtual wxWizardPage* GetNext() const; - - /// Retrieves bitmap resources - wxBitmap GetBitmapResource( const wxString& name ); - - /// Retrieves icon resources - wxIcon GetIconResource( const wxString& name ); -////@end CAccountCreationPage member function declarations - - /// Should we show tooltips? - static bool ShowToolTips(); - -////@begin CAccountCreationPage member variables - wxStaticBitmap* m_CommBOINCProjectImageCtrl; - wxStaticText* m_CommBOINCProjectCtrl; - wxStaticBitmap* m_CommYahooImageCtrl; - wxStaticText* m_CommYahooCtrl; - wxStaticBitmap* m_CommGoogleImageCtrl; - wxStaticText* m_CommGoogleCtrl; - wxStaticBitmap* m_DetermineConnectionStatusImageCtrl; - wxStaticText* m_DetermineConnectionStatusCtrl; - wxStaticText* m_FinalAccountCreationStatusCtrl; -////@end CAccountCreationPage member variables - wxInt32 m_iCurrentState; -}; - /*! * CCompletionPage class declaration */ @@ -608,5 +712,252 @@ public: ////@end CErrAccountAlreadyExistsPage member variables }; +/*! + * CErrProxySOCKSPage class declaration + */ + +class CErrProxySOCKSPage: public wxWizardPage +{ + DECLARE_DYNAMIC_CLASS( CErrProxySOCKSPage ) + DECLARE_EVENT_TABLE() + +public: + /// Constructors + CErrProxySOCKSPage( ); + + CErrProxySOCKSPage( wxWizard* parent ); + + /// Creation + bool Create( wxWizard* parent ); + + /// Creates the controls and sizers + void CreateControls(); + +////@begin CErrProxySOCKSPage event handler declarations + + /// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SOCKSAUTODETECT + void OnAutodetectClick( wxCommandEvent& event ); + +////@end CErrProxySOCKSPage event handler declarations + +////@begin CErrProxySOCKSPage member function declarations + + /// Gets the previous page. + virtual wxWizardPage* GetPrev() const; + + /// Gets the next page. + virtual wxWizardPage* GetNext() const; + + /// Retrieves bitmap resources + wxBitmap GetBitmapResource( const wxString& name ); + + /// Retrieves icon resources + wxIcon GetIconResource( const wxString& name ); +////@end CErrProxySOCKSPage member function declarations + + /// Should we show tooltips? + static bool ShowToolTips(); + +////@begin CErrProxySOCKSPage member variables +////@end CErrProxySOCKSPage member variables +}; + +/*! + * CErrProxyInfoPage class declaration + */ + +class CErrProxyInfoPage: public wxWizardPage +{ + DECLARE_DYNAMIC_CLASS( CErrProxyInfoPage ) + DECLARE_EVENT_TABLE() + +public: + /// Constructors + CErrProxyInfoPage( ); + + CErrProxyInfoPage( wxWizard* parent ); + + /// Creation + bool Create( wxWizard* parent ); + + /// Creates the controls and sizers + void CreateControls(); + +////@begin CErrProxyInfoPage event handler declarations + +////@end CErrProxyInfoPage event handler declarations + +////@begin CErrProxyInfoPage member function declarations + + /// Gets the previous page. + virtual wxWizardPage* GetPrev() const; + + /// Gets the next page. + virtual wxWizardPage* GetNext() const; + + /// Retrieves bitmap resources + wxBitmap GetBitmapResource( const wxString& name ); + + /// Retrieves icon resources + wxIcon GetIconResource( const wxString& name ); +////@end CErrProxyInfoPage member function declarations + + /// Should we show tooltips? + static bool ShowToolTips(); + +////@begin CErrProxyInfoPage member variables +////@end CErrProxyInfoPage member variables +}; + +/*! + * CErrProxyHTTPPage class declaration + */ + +class CErrProxyHTTPPage: public wxWizardPage +{ + DECLARE_DYNAMIC_CLASS( CErrProxyHTTPPage ) + DECLARE_EVENT_TABLE() + +public: + /// Constructors + CErrProxyHTTPPage( ); + + CErrProxyHTTPPage( wxWizard* parent ); + + /// Creation + bool Create( wxWizard* parent ); + + /// Creates the controls and sizers + void CreateControls(); + +////@begin CErrProxyHTTPPage event handler declarations + + /// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_HTTPAUTODETECT + void OnAutodetectClick( wxCommandEvent& event ); + +////@end CErrProxyHTTPPage event handler declarations + +////@begin CErrProxyHTTPPage member function declarations + + /// Gets the previous page. + virtual wxWizardPage* GetPrev() const; + + /// Gets the next page. + virtual wxWizardPage* GetNext() const; + + /// Retrieves bitmap resources + wxBitmap GetBitmapResource( const wxString& name ); + + /// Retrieves icon resources + wxIcon GetIconResource( const wxString& name ); +////@end CErrProxyHTTPPage member function declarations + + /// Should we show tooltips? + static bool ShowToolTips(); + +////@begin CErrProxyHTTPPage member variables +////@end CErrProxyHTTPPage member variables +}; + +/*! + * CErrProxyComplationPage class declaration + */ + +class CErrProxyComplationPage: public wxWizardPage +{ + DECLARE_DYNAMIC_CLASS( CErrProxyComplationPage ) + DECLARE_EVENT_TABLE() + +public: + /// Constructors + CErrProxyComplationPage( ); + + CErrProxyComplationPage( wxWizard* parent ); + + /// Creation + bool Create( wxWizard* parent ); + + /// Creates the controls and sizers + void CreateControls(); + +////@begin CErrProxyComplationPage event handler declarations + +////@end CErrProxyComplationPage event handler declarations + +////@begin CErrProxyComplationPage member function declarations + + /// Gets the previous page. + virtual wxWizardPage* GetPrev() const; + + /// Gets the next page. + virtual wxWizardPage* GetNext() const; + + /// Retrieves bitmap resources + wxBitmap GetBitmapResource( const wxString& name ); + + /// Retrieves icon resources + wxIcon GetIconResource( const wxString& name ); +////@end CErrProxyComplationPage member function declarations + + /// Should we show tooltips? + static bool ShowToolTips(); + +////@begin CErrProxyComplationPage member variables +////@end CErrProxyComplationPage member variables +}; + +/*! + * CAccountCreationPage class declaration + */ + +class CAccountCreationPage: public wxWizardPage +{ + DECLARE_DYNAMIC_CLASS( CAccountCreationPage ) + DECLARE_EVENT_TABLE() + +public: + /// Constructors + CAccountCreationPage( ); + + CAccountCreationPage( wxWizard* parent ); + + /// Creation + bool Create( wxWizard* parent ); + + /// Creates the controls and sizers + void CreateControls(); + +////@begin CAccountCreationPage event handler declarations + + /// wxEVT_WIZARD_PAGE_CHANGED event handler for ID_ACCOUNTCREATIONPAGE + void OnPageChanged( wxWizardEvent& event ); + +////@end CAccountCreationPage event handler declarations + +////@begin CAccountCreationPage member function declarations + + /// Gets the previous page. + virtual wxWizardPage* GetPrev() const; + + /// Gets the next page. + virtual wxWizardPage* GetNext() const; + + /// Retrieves bitmap resources + wxBitmap GetBitmapResource( const wxString& name ); + + /// Retrieves icon resources + wxIcon GetIconResource( const wxString& name ); +////@end CAccountCreationPage member function declarations + + /// Should we show tooltips? + static bool ShowToolTips(); + +////@begin CAccountCreationPage member variables + wxStaticBitmap* m_CommBOINCProjectImageCtrl; + wxStaticText* m_CommBOINCProjectCtrl; + wxStaticText* m_FinalAccountCreationStatusCtrl; +////@end CAccountCreationPage member variables +}; + #endif // _WIZATTACHPROJECT_H_