2005-01-20 23:22:22 +00:00
|
|
|
// Berkeley Open Infrastructure for Network Computing
|
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2005 University of California
|
2004-05-17 22:15:10 +00:00
|
|
|
//
|
2005-01-20 23:22:22 +00:00
|
|
|
// This is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
|
|
// License as published by the Free Software Foundation;
|
|
|
|
// either version 2.1 of the License, or (at your option) any later version.
|
2004-04-10 09:11:03 +00:00
|
|
|
//
|
2005-01-20 23:22:22 +00:00
|
|
|
// This software is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
2004-05-17 22:15:10 +00:00
|
|
|
//
|
2005-01-20 23:22:22 +00:00
|
|
|
// To view the GNU Lesser General Public License visit
|
|
|
|
// http://www.gnu.org/copyleft/lesser.html
|
|
|
|
// or write to the Free Software Foundation, Inc.,
|
|
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2005-04-01 22:17:44 +00:00
|
|
|
//
|
2004-04-10 09:11:03 +00:00
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
2004-04-10 20:25:27 +00:00
|
|
|
#pragma implementation "DlgOptions.h"
|
2004-04-10 09:11:03 +00:00
|
|
|
#endif
|
|
|
|
|
2004-04-10 20:25:27 +00:00
|
|
|
#include "stdwx.h"
|
2007-08-16 20:06:50 +00:00
|
|
|
#include "diagnostics.h"
|
|
|
|
#include "util.h"
|
|
|
|
#include "mfile.h"
|
|
|
|
#include "miofile.h"
|
|
|
|
#include "parse.h"
|
|
|
|
#include "LogBOINC.h"
|
2005-02-07 04:47:18 +00:00
|
|
|
#include "BOINCGUIApp.h"
|
2004-04-10 20:25:27 +00:00
|
|
|
#include "DlgOptions.h"
|
2007-08-16 20:06:50 +00:00
|
|
|
#include "SkinManager.h"
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
////@begin includes
|
|
|
|
////@end includes
|
|
|
|
|
|
|
|
////@begin XPM images
|
|
|
|
////@end XPM images
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* CDlgOptions type definition
|
|
|
|
*/
|
|
|
|
|
2005-04-08 16:58:55 +00:00
|
|
|
IMPLEMENT_DYNAMIC_CLASS(CDlgOptions, wxDialog)
|
2005-04-01 22:17:44 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* CDlgOptions event table definition
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-04-08 16:58:55 +00:00
|
|
|
BEGIN_EVENT_TABLE(CDlgOptions, wxDialog)
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
////@begin CDlgOptions event table entries
|
2005-06-22 10:51:34 +00:00
|
|
|
EVT_NOTEBOOK_PAGE_CHANGED( ID_NOTEBOOK, CDlgOptions::OnNotebookPageChanged )
|
|
|
|
EVT_UPDATE_UI( ID_NOTEBOOK, CDlgOptions::OnNotebookUpdate )
|
2006-02-16 11:01:57 +00:00
|
|
|
#if defined(__WXMSW__)
|
2005-06-28 22:22:29 +00:00
|
|
|
EVT_BUTTON( ID_DIALUPSETDEFAULT, CDlgOptions::OnDialupSetDefaultClick )
|
|
|
|
EVT_BUTTON( ID_DIALUPCLEARDEFAULT, CDlgOptions::OnDialupClearDefaultClick )
|
2006-02-16 11:01:57 +00:00
|
|
|
#endif // __WXMSW__
|
2005-06-28 22:22:29 +00:00
|
|
|
EVT_CHECKBOX( ID_ENABLEHTTPPROXYCTRL, CDlgOptions::OnEnableHTTPProxyCtrlClick )
|
|
|
|
EVT_UPDATE_UI( ID_ENABLEHTTPPROXYCTRL, CDlgOptions::OnEnableHTTPProxyCtrlUpdate )
|
|
|
|
EVT_CHECKBOX( ID_ENABLESOCKSPROXYCTRL, CDlgOptions::OnEnableSOCKSProxyCtrlClick )
|
|
|
|
EVT_UPDATE_UI( ID_ENABLESOCKSPROXYCTRL, CDlgOptions::OnEnableSOCKSProxyCtrlUpdate )
|
2005-04-01 22:17:44 +00:00
|
|
|
////@end CDlgOptions event table entries
|
2004-04-10 09:11:03 +00:00
|
|
|
|
|
|
|
END_EVENT_TABLE()
|
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* CDlgOptions constructors
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-04-08 16:58:55 +00:00
|
|
|
CDlgOptions::CDlgOptions()
|
2004-04-10 09:11:03 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2005-04-08 16:58:55 +00:00
|
|
|
CDlgOptions::CDlgOptions(wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style)
|
2004-04-10 09:11:03 +00:00
|
|
|
{
|
|
|
|
Create(parent, id, caption, pos, size, style);
|
|
|
|
}
|
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* CDlgToolsOptions creator
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-04-08 16:58:55 +00:00
|
|
|
bool CDlgOptions::Create(wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style)
|
2004-04-10 09:11:03 +00:00
|
|
|
{
|
2005-04-01 22:17:44 +00:00
|
|
|
////@begin CDlgOptions member initialisation
|
|
|
|
m_LanguageSelectionCtrl = NULL;
|
2005-06-28 15:55:59 +00:00
|
|
|
m_ReminderFrequencyCtrl = NULL;
|
|
|
|
m_DialupStaticBoxCtrl = NULL;
|
2006-02-16 11:01:57 +00:00
|
|
|
#if defined(__WXMSW__)
|
2005-06-28 15:55:59 +00:00
|
|
|
m_DialupConnectionsCtrl = NULL;
|
|
|
|
m_DialupSetDefaultCtrl = NULL;
|
|
|
|
m_DialupClearDefaultCtrl = NULL;
|
|
|
|
m_DialupDefaultConnectionTextCtrl = NULL;
|
|
|
|
m_DialupDefaultConnectionCtrl = NULL;
|
2006-02-16 11:01:57 +00:00
|
|
|
#endif // __WXMSW__
|
2004-04-10 09:11:03 +00:00
|
|
|
m_EnableHTTPProxyCtrl = NULL;
|
|
|
|
m_HTTPAddressCtrl = NULL;
|
|
|
|
m_HTTPPortCtrl = NULL;
|
|
|
|
m_HTTPUsernameCtrl = NULL;
|
|
|
|
m_HTTPPasswordCtrl = NULL;
|
|
|
|
m_EnableSOCKSProxyCtrl = NULL;
|
|
|
|
m_SOCKSAddressCtrl = NULL;
|
|
|
|
m_SOCKSPortCtrl = NULL;
|
|
|
|
m_SOCKSUsernameCtrl = NULL;
|
2004-10-27 03:17:40 +00:00
|
|
|
m_SOCKSPasswordCtrl = NULL;
|
2005-04-01 22:17:44 +00:00
|
|
|
////@end CDlgOptions member initialisation
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2007-08-16 20:06:50 +00:00
|
|
|
wxString strCaption = caption;
|
|
|
|
if (strCaption.IsEmpty()) {
|
|
|
|
CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced();
|
|
|
|
wxASSERT(pSkinAdvanced);
|
|
|
|
wxASSERT(wxDynamicCast(pSkinAdvanced, CSkinAdvanced));
|
|
|
|
|
|
|
|
strCaption.Printf(_("%s - Options"), pSkinAdvanced->GetApplicationName().c_str());
|
|
|
|
}
|
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
////@begin CDlgOptions creation
|
|
|
|
SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);
|
2007-08-16 20:06:50 +00:00
|
|
|
wxDialog::Create( parent, id, strCaption, pos, size, style );
|
2004-04-10 09:11:03 +00:00
|
|
|
|
|
|
|
CreateControls();
|
|
|
|
GetSizer()->Fit(this);
|
|
|
|
GetSizer()->SetSizeHints(this);
|
|
|
|
Centre();
|
2005-04-01 22:17:44 +00:00
|
|
|
////@end CDlgOptions creation
|
2004-04-10 09:11:03 +00:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* Control creation for CDlgToolsOptions
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2004-04-10 20:25:27 +00:00
|
|
|
void CDlgOptions::CreateControls()
|
2004-04-10 09:11:03 +00:00
|
|
|
{
|
2005-04-01 22:17:44 +00:00
|
|
|
////@begin CDlgOptions content construction
|
2004-10-24 21:30:29 +00:00
|
|
|
CDlgOptions* itemDialog1 = this;
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2004-10-24 21:21:39 +00:00
|
|
|
wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL);
|
|
|
|
itemDialog1->SetSizer(itemBoxSizer2);
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2004-10-24 21:14:37 +00:00
|
|
|
wxNotebook* itemNotebook3 = new wxNotebook;
|
2005-06-28 15:55:59 +00:00
|
|
|
itemNotebook3->Create( itemDialog1, ID_NOTEBOOK, wxDefaultPosition, wxDefaultSize, wxNB_TOP );
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2004-10-24 21:14:37 +00:00
|
|
|
wxPanel* itemPanel4 = new wxPanel;
|
2005-11-15 01:14:11 +00:00
|
|
|
itemPanel4->Create( itemNotebook3, ID_GENERAL, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
2004-10-24 21:14:37 +00:00
|
|
|
wxBoxSizer* itemBoxSizer5 = new wxBoxSizer(wxVERTICAL);
|
|
|
|
itemPanel4->SetSizer(itemBoxSizer5);
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2005-06-22 10:51:34 +00:00
|
|
|
wxFlexGridSizer* itemFlexGridSizer6 = new wxFlexGridSizer(2, 2, 0, 0);
|
|
|
|
itemBoxSizer5->Add(itemFlexGridSizer6, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
wxStaticText* itemStaticText7 = new wxStaticText;
|
2005-06-22 10:51:34 +00:00
|
|
|
itemStaticText7->Create( itemPanel4, wxID_STATIC, _("Language Selection:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2005-06-29 05:21:47 +00:00
|
|
|
itemFlexGridSizer6->Add(itemStaticText7, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-06-22 10:51:34 +00:00
|
|
|
wxString* m_LanguageSelectionCtrlStrings = NULL;
|
2005-04-01 22:17:44 +00:00
|
|
|
m_LanguageSelectionCtrl = new wxComboBox;
|
2005-06-28 15:55:59 +00:00
|
|
|
m_LanguageSelectionCtrl->Create( itemPanel4, ID_LANGUAGESELECTION, _T(""), wxDefaultPosition, wxDefaultSize, 0, m_LanguageSelectionCtrlStrings, wxCB_READONLY );
|
2005-06-22 10:51:34 +00:00
|
|
|
if (ShowToolTips())
|
|
|
|
m_LanguageSelectionCtrl->SetToolTip(_("What language should the manager display by default."));
|
|
|
|
itemFlexGridSizer6->Add(m_LanguageSelectionCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
|
|
|
|
|
|
|
wxStaticText* itemStaticText9 = new wxStaticText;
|
|
|
|
itemStaticText9->Create( itemPanel4, wxID_STATIC, _("Reminder Frequency:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2005-06-29 05:21:47 +00:00
|
|
|
itemFlexGridSizer6->Add(itemStaticText9, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-06-22 10:51:34 +00:00
|
|
|
|
2005-06-28 15:55:59 +00:00
|
|
|
m_ReminderFrequencyCtrl = new wxSlider;
|
2007-01-29 03:26:01 +00:00
|
|
|
m_ReminderFrequencyCtrl->Create( itemPanel4, ID_REMINDERFREQUENCY, 60, 0, 120, wxDefaultPosition,
|
|
|
|
#if defined(__WXMSW__) || defined(__WXMAC__)
|
|
|
|
wxDefaultSize,
|
|
|
|
#else
|
|
|
|
wxSize(150, 40),
|
|
|
|
#endif
|
|
|
|
wxSL_HORIZONTAL|wxSL_LABELS);
|
2005-06-22 10:51:34 +00:00
|
|
|
if (ShowToolTips())
|
2005-06-28 15:55:59 +00:00
|
|
|
m_ReminderFrequencyCtrl->SetToolTip(_("How often, in minutes, should the manager remind you of possible connection events."));
|
|
|
|
itemFlexGridSizer6->Add(m_ReminderFrequencyCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2004-10-24 21:14:37 +00:00
|
|
|
|
|
|
|
itemNotebook3->AddPage(itemPanel4, _("General"));
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2006-02-16 11:01:57 +00:00
|
|
|
#if defined(__WXMSW__)
|
2005-06-22 10:51:34 +00:00
|
|
|
wxPanel* itemPanel11 = new wxPanel;
|
2005-06-28 15:55:59 +00:00
|
|
|
itemPanel11->Create( itemNotebook3, ID_CONNECTONS, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
2005-06-22 10:51:34 +00:00
|
|
|
wxBoxSizer* itemBoxSizer12 = new wxBoxSizer(wxVERTICAL);
|
|
|
|
itemPanel11->SetSizer(itemBoxSizer12);
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2005-06-28 15:55:59 +00:00
|
|
|
wxStaticBox* itemStaticBoxSizer16Static = new wxStaticBox(itemPanel11, wxID_ANY, _("Dial-up and Virtual Private Network settings"));
|
|
|
|
m_DialupStaticBoxCtrl = new wxStaticBoxSizer(itemStaticBoxSizer16Static, wxVERTICAL);
|
|
|
|
itemBoxSizer12->Add(m_DialupStaticBoxCtrl, 0, wxGROW|wxALL, 5);
|
|
|
|
wxFlexGridSizer* itemFlexGridSizer17 = new wxFlexGridSizer(1, 2, 0, 0);
|
|
|
|
itemFlexGridSizer17->AddGrowableCol(0);
|
|
|
|
m_DialupStaticBoxCtrl->Add(itemFlexGridSizer17, 0, wxGROW|wxALL, 5);
|
|
|
|
wxString* m_DialupConnectionsCtrlStrings = NULL;
|
|
|
|
m_DialupConnectionsCtrl = new wxListBox;
|
|
|
|
m_DialupConnectionsCtrl->Create( itemPanel11, ID_DIALUPCONNECTIONS, wxDefaultPosition, wxDefaultSize, 0, m_DialupConnectionsCtrlStrings, wxLB_SINGLE|wxLB_NEEDED_SB );
|
|
|
|
itemFlexGridSizer17->Add(m_DialupConnectionsCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
|
|
|
|
|
|
|
wxBoxSizer* itemBoxSizer19 = new wxBoxSizer(wxVERTICAL);
|
|
|
|
itemFlexGridSizer17->Add(itemBoxSizer19, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
|
|
|
m_DialupSetDefaultCtrl = new wxButton;
|
2005-06-28 22:22:29 +00:00
|
|
|
m_DialupSetDefaultCtrl->Create( itemPanel11, ID_DIALUPSETDEFAULT, _("&Set Default"), wxDefaultPosition, wxDefaultSize, 0 );
|
2005-06-28 15:55:59 +00:00
|
|
|
m_DialupSetDefaultCtrl->SetDefault();
|
|
|
|
itemBoxSizer19->Add(m_DialupSetDefaultCtrl, 0, wxGROW|wxALL, 5);
|
|
|
|
|
|
|
|
m_DialupClearDefaultCtrl = new wxButton;
|
2005-06-28 22:22:29 +00:00
|
|
|
m_DialupClearDefaultCtrl->Create( itemPanel11, ID_DIALUPCLEARDEFAULT, _("&Clear Default"), wxDefaultPosition, wxDefaultSize, 0 );
|
2005-06-28 15:55:59 +00:00
|
|
|
itemBoxSizer19->Add(m_DialupClearDefaultCtrl, 0, wxGROW|wxALL, 5);
|
|
|
|
|
|
|
|
wxFlexGridSizer* itemFlexGridSizer22 = new wxFlexGridSizer(1, 2, 0, 0);
|
|
|
|
itemFlexGridSizer22->AddGrowableCol(1);
|
|
|
|
m_DialupStaticBoxCtrl->Add(itemFlexGridSizer22, 0, wxGROW|wxALL, 5);
|
|
|
|
m_DialupDefaultConnectionTextCtrl = new wxStaticText;
|
|
|
|
m_DialupDefaultConnectionTextCtrl->Create( itemPanel11, ID_DIALUPDEFAULTCONNECTIONTEXT, _("Default Connection:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2005-06-29 05:21:47 +00:00
|
|
|
itemFlexGridSizer22->Add(m_DialupDefaultConnectionTextCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-06-28 15:55:59 +00:00
|
|
|
|
|
|
|
m_DialupDefaultConnectionCtrl = new wxStaticText;
|
|
|
|
m_DialupDefaultConnectionCtrl->Create( itemPanel11, ID_DIALUPDEFAULTCONNECTION, _T(""), wxDefaultPosition, wxDefaultSize, 0 );
|
2005-06-29 05:21:47 +00:00
|
|
|
itemFlexGridSizer22->Add(m_DialupDefaultConnectionCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
|
|
|
|
2005-06-28 15:55:59 +00:00
|
|
|
itemNotebook3->AddPage(itemPanel11, _("Connections"));
|
2006-02-16 11:01:57 +00:00
|
|
|
#endif // __WXMSW__
|
2005-06-28 15:55:59 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxPanel* itemPanel27 = new wxPanel;
|
2005-11-15 01:14:11 +00:00
|
|
|
itemPanel27->Create( itemNotebook3, ID_HTTPPROXY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
2005-06-29 05:21:47 +00:00
|
|
|
wxBoxSizer* itemBoxSizer28 = new wxBoxSizer(wxVERTICAL);
|
|
|
|
itemPanel27->SetSizer(itemBoxSizer28);
|
2005-06-28 15:55:59 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_EnableHTTPProxyCtrl = new wxCheckBox;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_EnableHTTPProxyCtrl->Create( itemPanel27, ID_ENABLEHTTPPROXYCTRL, _("Connect via HTTP proxy server"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
2005-04-01 22:17:44 +00:00
|
|
|
m_EnableHTTPProxyCtrl->SetValue(FALSE);
|
2005-06-29 05:21:47 +00:00
|
|
|
itemBoxSizer28->Add(m_EnableHTTPProxyCtrl, 0, wxGROW|wxALL, 5);
|
|
|
|
|
|
|
|
wxStaticBox* itemStaticBoxSizer30Static = new wxStaticBox(itemPanel27, wxID_ANY, _("HTTP Proxy Server Configuration"));
|
|
|
|
wxStaticBoxSizer* itemStaticBoxSizer30 = new wxStaticBoxSizer(itemStaticBoxSizer30Static, wxVERTICAL);
|
|
|
|
itemBoxSizer28->Add(itemStaticBoxSizer30, 0, wxGROW|wxALL, 5);
|
|
|
|
wxGridSizer* itemGridSizer31 = new wxGridSizer(2, 1, 0, 0);
|
|
|
|
itemStaticBoxSizer30->Add(itemGridSizer31, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
|
|
|
wxFlexGridSizer* itemFlexGridSizer32 = new wxFlexGridSizer(2, 2, 0, 0);
|
|
|
|
itemGridSizer31->Add(itemFlexGridSizer32, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
|
|
|
wxStaticText* itemStaticText33 = new wxStaticText;
|
|
|
|
itemStaticText33->Create( itemPanel27, wxID_STATIC, _("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemFlexGridSizer32->Add(itemStaticText33, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2004-10-24 21:14:37 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_HTTPAddressCtrl = new wxTextCtrl;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_HTTPAddressCtrl->Create( itemPanel27, ID_HTTPADDRESSCTRL, _T(""), wxDefaultPosition, wxSize(150, -1), 0 );
|
|
|
|
itemFlexGridSizer32->Add(m_HTTPAddressCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxStaticText* itemStaticText35 = new wxStaticText;
|
|
|
|
itemStaticText35->Create( itemPanel27, wxID_STATIC, _("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemFlexGridSizer32->Add(itemStaticText35, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_HTTPPortCtrl = new wxTextCtrl;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_HTTPPortCtrl->Create( itemPanel27, ID_HTTPPORTCTRL, _T(""), wxDefaultPosition, wxSize(50, -1), 0 );
|
|
|
|
itemFlexGridSizer32->Add(m_HTTPPortCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
|
|
|
|
|
|
|
wxStaticBox* itemStaticBoxSizer37Static = new wxStaticBox(itemPanel27, wxID_ANY, _("Leave these blank if not needed"));
|
|
|
|
wxStaticBoxSizer* itemStaticBoxSizer37 = new wxStaticBoxSizer(itemStaticBoxSizer37Static, wxVERTICAL);
|
|
|
|
itemStaticBoxSizer30->Add(itemStaticBoxSizer37, 0, wxGROW|wxALL, 5);
|
|
|
|
wxFlexGridSizer* itemFlexGridSizer38 = new wxFlexGridSizer(2, 2, 0, 0);
|
|
|
|
itemStaticBoxSizer37->Add(itemFlexGridSizer38, 0, wxALIGN_LEFT|wxALL, 5);
|
|
|
|
wxStaticText* itemStaticText39 = new wxStaticText;
|
|
|
|
itemStaticText39->Create( itemPanel27, wxID_STATIC, _("User Name:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemFlexGridSizer38->Add(itemStaticText39, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2004-10-24 21:14:37 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_HTTPUsernameCtrl = new wxTextCtrl;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_HTTPUsernameCtrl->Create( itemPanel27, ID_HTTPUSERNAMECTRL, _T(""), wxDefaultPosition, wxSize(175, -1), 0 );
|
|
|
|
itemFlexGridSizer38->Add(m_HTTPUsernameCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxStaticText* itemStaticText41 = new wxStaticText;
|
|
|
|
itemStaticText41->Create( itemPanel27, wxID_STATIC, _("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemFlexGridSizer38->Add(itemStaticText41, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_HTTPPasswordCtrl = new wxTextCtrl;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_HTTPPasswordCtrl->Create( itemPanel27, ID_HTTPPASSWORDCTRL, _T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
|
|
|
|
itemFlexGridSizer38->Add(m_HTTPPasswordCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
itemNotebook3->AddPage(itemPanel27, _("HTTP Proxy"));
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxPanel* itemPanel43 = new wxPanel;
|
2005-11-15 01:14:11 +00:00
|
|
|
itemPanel43->Create( itemNotebook3, ID_SOCKSPROXY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
2005-06-29 05:21:47 +00:00
|
|
|
wxBoxSizer* itemBoxSizer44 = new wxBoxSizer(wxVERTICAL);
|
|
|
|
itemPanel43->SetSizer(itemBoxSizer44);
|
2005-04-01 22:17:44 +00:00
|
|
|
|
|
|
|
m_EnableSOCKSProxyCtrl = new wxCheckBox;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_EnableSOCKSProxyCtrl->Create( itemPanel43, ID_ENABLESOCKSPROXYCTRL, _("Connect via SOCKS proxy server"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
2005-04-01 22:17:44 +00:00
|
|
|
m_EnableSOCKSProxyCtrl->SetValue(FALSE);
|
2005-06-29 05:21:47 +00:00
|
|
|
itemBoxSizer44->Add(m_EnableSOCKSProxyCtrl, 0, wxGROW|wxALL, 5);
|
|
|
|
|
|
|
|
wxStaticBox* itemStaticBoxSizer46Static = new wxStaticBox(itemPanel43, wxID_ANY, _("SOCKS Proxy Server Configuration"));
|
|
|
|
wxStaticBoxSizer* itemStaticBoxSizer46 = new wxStaticBoxSizer(itemStaticBoxSizer46Static, wxVERTICAL);
|
|
|
|
itemBoxSizer44->Add(itemStaticBoxSizer46, 0, wxGROW|wxALL, 5);
|
|
|
|
wxGridSizer* itemGridSizer47 = new wxGridSizer(2, 1, 0, 0);
|
|
|
|
itemStaticBoxSizer46->Add(itemGridSizer47, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
|
|
|
wxFlexGridSizer* itemFlexGridSizer48 = new wxFlexGridSizer(2, 2, 0, 0);
|
|
|
|
itemGridSizer47->Add(itemFlexGridSizer48, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
|
|
|
wxStaticText* itemStaticText49 = new wxStaticText;
|
|
|
|
itemStaticText49->Create( itemPanel43, wxID_STATIC, _("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemFlexGridSizer48->Add(itemStaticText49, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2004-10-24 21:14:37 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_SOCKSAddressCtrl = new wxTextCtrl;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_SOCKSAddressCtrl->Create( itemPanel43, ID_SOCKSADDRESSCTRL, _T(""), wxDefaultPosition, wxSize(150, -1), 0 );
|
|
|
|
itemFlexGridSizer48->Add(m_SOCKSAddressCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxStaticText* itemStaticText51 = new wxStaticText;
|
|
|
|
itemStaticText51->Create( itemPanel43, wxID_STATIC, _("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemFlexGridSizer48->Add(itemStaticText51, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_SOCKSPortCtrl = new wxTextCtrl;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_SOCKSPortCtrl->Create( itemPanel43, ID_SOCKSPORTCTRL, _T(""), wxDefaultPosition, wxSize(50, -1), 0 );
|
|
|
|
itemFlexGridSizer48->Add(m_SOCKSPortCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
|
|
|
|
|
|
|
wxStaticBox* itemStaticBoxSizer53Static = new wxStaticBox(itemPanel43, wxID_ANY, _("Leave these blank if not needed"));
|
|
|
|
wxStaticBoxSizer* itemStaticBoxSizer53 = new wxStaticBoxSizer(itemStaticBoxSizer53Static, wxVERTICAL);
|
|
|
|
itemStaticBoxSizer46->Add(itemStaticBoxSizer53, 0, wxGROW|wxALL, 5);
|
|
|
|
wxFlexGridSizer* itemFlexGridSizer54 = new wxFlexGridSizer(2, 2, 0, 0);
|
|
|
|
itemStaticBoxSizer53->Add(itemFlexGridSizer54, 0, wxALIGN_LEFT|wxALL, 5);
|
|
|
|
wxStaticText* itemStaticText55 = new wxStaticText;
|
|
|
|
itemStaticText55->Create( itemPanel43, wxID_STATIC, _("User Name:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemFlexGridSizer54->Add(itemStaticText55, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2004-10-24 21:14:37 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_SOCKSUsernameCtrl = new wxTextCtrl;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_SOCKSUsernameCtrl->Create( itemPanel43, ID_SOCKSUSERNAMECTRL, _T(""), wxDefaultPosition, wxSize(175, -1), 0 );
|
|
|
|
itemFlexGridSizer54->Add(m_SOCKSUsernameCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxStaticText* itemStaticText57 = new wxStaticText;
|
|
|
|
itemStaticText57->Create( itemPanel43, wxID_STATIC, _("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemFlexGridSizer54->Add(itemStaticText57, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2005-02-07 04:47:18 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
m_SOCKSPasswordCtrl = new wxTextCtrl;
|
2005-06-29 05:21:47 +00:00
|
|
|
m_SOCKSPasswordCtrl->Create( itemPanel43, ID_SOCKSPASSWORDCTRL, _T(""), wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
|
|
|
|
itemFlexGridSizer54->Add(m_SOCKSPasswordCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2004-10-24 21:14:37 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
itemNotebook3->AddPage(itemPanel43, _("SOCKS Proxy"));
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2005-07-22 00:00:49 +00:00
|
|
|
itemBoxSizer2->Add(itemNotebook3, 0, wxGROW|wxALL, 5);
|
2004-10-24 21:14:37 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxBoxSizer* itemBoxSizer59 = new wxBoxSizer(wxHORIZONTAL);
|
|
|
|
itemBoxSizer2->Add(itemBoxSizer59, 0, wxALIGN_RIGHT|wxALL, 5);
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxButton* itemButton60 = new wxButton;
|
|
|
|
itemButton60->Create( itemDialog1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemButton60->SetDefault();
|
|
|
|
itemBoxSizer59->Add(itemButton60, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2004-10-24 21:14:37 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
wxButton* itemButton61 = new wxButton;
|
|
|
|
itemButton61->Create( itemDialog1, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
itemBoxSizer59->Add(itemButton61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
2004-10-24 21:21:39 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
////@end CDlgOptions content construction
|
2004-04-10 09:11:03 +00:00
|
|
|
}
|
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED event handler for ID_NOTEBOOK
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-04-08 16:58:55 +00:00
|
|
|
void CDlgOptions::OnNotebookPageChanged(wxNotebookEvent& event)
|
2004-04-10 09:11:03 +00:00
|
|
|
{
|
|
|
|
event.Skip();
|
|
|
|
}
|
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* wxEVT_UPDATE_UI event handler for ID_NOTEBOOK
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-04-08 16:58:55 +00:00
|
|
|
void CDlgOptions::OnNotebookUpdate(wxUpdateUIEvent& event)
|
2004-04-10 09:11:03 +00:00
|
|
|
{
|
|
|
|
event.Skip();
|
|
|
|
}
|
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2006-02-16 11:01:57 +00:00
|
|
|
#if defined(__WXMSW__)
|
2005-06-28 22:22:29 +00:00
|
|
|
/*!
|
|
|
|
* wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_DIALUPSETDEFAULT
|
|
|
|
*/
|
|
|
|
|
2005-07-07 22:26:49 +00:00
|
|
|
void CDlgOptions::OnDialupSetDefaultClick( wxCommandEvent& WXUNUSED(event) )
|
2005-06-28 22:22:29 +00:00
|
|
|
{
|
|
|
|
m_DialupDefaultConnectionCtrl->SetLabel(m_DialupConnectionsCtrl->GetStringSelection());
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_DIALUPCLEARDEFAULT
|
|
|
|
*/
|
|
|
|
|
2005-07-07 22:26:49 +00:00
|
|
|
void CDlgOptions::OnDialupClearDefaultClick( wxCommandEvent& WXUNUSED(event) )
|
2005-06-28 22:22:29 +00:00
|
|
|
{
|
|
|
|
m_DialupDefaultConnectionCtrl->SetLabel(wxEmptyString);
|
|
|
|
}
|
2006-02-16 11:01:57 +00:00
|
|
|
#endif // __WXMSW__
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ENABLEHTTPPROXYCTRL
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
void CDlgOptions::OnEnableHTTPProxyCtrlClick(wxCommandEvent& event) {
|
2005-04-08 16:58:55 +00:00
|
|
|
if (event.IsChecked()) {
|
2004-10-27 03:17:40 +00:00
|
|
|
m_HTTPAddressCtrl->Enable(true);
|
|
|
|
m_HTTPPortCtrl->Enable(true);
|
|
|
|
m_HTTPUsernameCtrl->Enable(true);
|
|
|
|
m_HTTPPasswordCtrl->Enable(true);
|
2005-04-08 16:58:55 +00:00
|
|
|
} else {
|
2004-10-27 03:17:40 +00:00
|
|
|
m_HTTPAddressCtrl->Enable(false);
|
|
|
|
m_HTTPPortCtrl->Enable(false);
|
|
|
|
m_HTTPUsernameCtrl->Enable(false);
|
|
|
|
m_HTTPPasswordCtrl->Enable(false);
|
|
|
|
}
|
2005-04-01 22:17:44 +00:00
|
|
|
|
2004-04-10 09:11:03 +00:00
|
|
|
event.Skip();
|
|
|
|
}
|
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* wxEVT_UPDATE_UI event handler for ID_ENABLEHTTPPROXYCTRL
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
void CDlgOptions::OnEnableHTTPProxyCtrlUpdate(wxUpdateUIEvent& event) {
|
2005-06-29 05:21:47 +00:00
|
|
|
if (m_EnableHTTPProxyCtrl->IsEnabled() && m_EnableHTTPProxyCtrl->IsChecked()) {
|
|
|
|
m_HTTPAddressCtrl->Enable(true);
|
|
|
|
m_HTTPPortCtrl->Enable(true);
|
|
|
|
m_HTTPUsernameCtrl->Enable(true);
|
|
|
|
m_HTTPPasswordCtrl->Enable(true);
|
2005-04-08 16:58:55 +00:00
|
|
|
} else {
|
2004-10-27 03:17:40 +00:00
|
|
|
m_HTTPAddressCtrl->Enable(false);
|
|
|
|
m_HTTPPortCtrl->Enable(false);
|
|
|
|
m_HTTPUsernameCtrl->Enable(false);
|
|
|
|
m_HTTPPasswordCtrl->Enable(false);
|
|
|
|
}
|
2004-04-10 09:11:03 +00:00
|
|
|
event.Skip();
|
|
|
|
}
|
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ENABLESOCKSPROXYCTRL
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
void CDlgOptions::OnEnableSOCKSProxyCtrlClick(wxCommandEvent& event) {
|
2005-04-08 16:58:55 +00:00
|
|
|
if (event.IsChecked()) {
|
2004-10-27 03:17:40 +00:00
|
|
|
m_SOCKSAddressCtrl->Enable(true);
|
|
|
|
m_SOCKSPortCtrl->Enable(true);
|
|
|
|
m_SOCKSUsernameCtrl->Enable(true);
|
|
|
|
m_SOCKSPasswordCtrl->Enable(true);
|
2005-04-08 16:58:55 +00:00
|
|
|
} else {
|
2004-10-27 03:17:40 +00:00
|
|
|
m_SOCKSAddressCtrl->Enable(false);
|
|
|
|
m_SOCKSPortCtrl->Enable(false);
|
|
|
|
m_SOCKSUsernameCtrl->Enable(false);
|
|
|
|
m_SOCKSPasswordCtrl->Enable(false);
|
|
|
|
}
|
2004-04-10 09:11:03 +00:00
|
|
|
event.Skip();
|
|
|
|
}
|
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* wxEVT_UPDATE_UI event handler for ID_ENABLESOCKSPROXYCTRL
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
void CDlgOptions::OnEnableSOCKSProxyCtrlUpdate(wxUpdateUIEvent& event) {
|
2005-06-29 05:21:47 +00:00
|
|
|
if (m_EnableSOCKSProxyCtrl->IsEnabled() && m_EnableSOCKSProxyCtrl->IsChecked()) {
|
|
|
|
m_SOCKSAddressCtrl->Enable(true);
|
|
|
|
m_SOCKSPortCtrl->Enable(true);
|
|
|
|
m_SOCKSUsernameCtrl->Enable(true);
|
|
|
|
m_SOCKSPasswordCtrl->Enable(true);
|
2005-04-08 16:58:55 +00:00
|
|
|
} else {
|
2004-10-27 03:17:40 +00:00
|
|
|
m_SOCKSAddressCtrl->Enable(false);
|
|
|
|
m_SOCKSPortCtrl->Enable(false);
|
|
|
|
m_SOCKSUsernameCtrl->Enable(false);
|
|
|
|
m_SOCKSPasswordCtrl->Enable(false);
|
|
|
|
}
|
2004-04-10 09:11:03 +00:00
|
|
|
event.Skip();
|
|
|
|
}
|
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2006-02-16 11:01:57 +00:00
|
|
|
#if defined(__WXMSW__)
|
2005-06-29 05:21:47 +00:00
|
|
|
wxString CDlgOptions::GetDefaultDialupConnection() const
|
|
|
|
{
|
|
|
|
return m_DialupDefaultConnectionCtrl->GetLabel();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void CDlgOptions::SetDefaultDialupConnection(wxString value)
|
|
|
|
{
|
|
|
|
m_DialupDefaultConnectionCtrl->SetLabel(value);
|
|
|
|
}
|
2006-02-16 11:01:57 +00:00
|
|
|
#endif // __WXMSW__
|
2005-06-29 05:21:47 +00:00
|
|
|
|
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* Should we show tooltips?
|
|
|
|
*/
|
2004-04-10 09:11:03 +00:00
|
|
|
|
2004-04-10 20:25:27 +00:00
|
|
|
bool CDlgOptions::ShowToolTips()
|
2004-04-10 09:11:03 +00:00
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
2004-04-11 05:09:18 +00:00
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* Get bitmap resources
|
|
|
|
*/
|
2004-12-08 00:40:19 +00:00
|
|
|
|
2005-11-15 01:14:11 +00:00
|
|
|
wxBitmap CDlgOptions::GetBitmapResource( const wxString& WXUNUSED(name) )
|
2005-06-28 22:22:29 +00:00
|
|
|
{
|
2005-04-01 22:17:44 +00:00
|
|
|
// Bitmap retrieval
|
|
|
|
////@begin CDlgOptions bitmap retrieval
|
|
|
|
return wxNullBitmap;
|
|
|
|
////@end CDlgOptions bitmap retrieval
|
|
|
|
}
|
|
|
|
|
2005-06-28 22:22:29 +00:00
|
|
|
|
2005-04-01 22:17:44 +00:00
|
|
|
/*!
|
|
|
|
* Get icon resources
|
|
|
|
*/
|
|
|
|
|
2005-11-15 01:14:11 +00:00
|
|
|
wxIcon CDlgOptions::GetIconResource( const wxString& WXUNUSED(name) )
|
2005-06-28 22:22:29 +00:00
|
|
|
{
|
2005-04-01 22:17:44 +00:00
|
|
|
// Icon retrieval
|
|
|
|
////@begin CDlgOptions icon retrieval
|
|
|
|
return wxNullIcon;
|
|
|
|
////@end CDlgOptions icon retrieval
|
|
|
|
}
|
2005-06-28 15:55:59 +00:00
|
|
|
|
2005-06-29 05:21:47 +00:00
|
|
|
|
2005-09-13 09:01:56 +00:00
|
|
|
const char *BOINC_RCSID_5743f67054="$Id$";
|