From 6e2ffcf6ac7168c9536fca0efc698cdabf558f96 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 10 Aug 2010 19:19:13 +0000 Subject: [PATCH] Quick Updates svn path=/trunk/boinc/; revision=22177 --- clientgui/WizardAttach.cpp | 10 ++++------ clientgui/WizardAttach.h | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/clientgui/WizardAttach.cpp b/clientgui/WizardAttach.cpp index 24834e6523..810e288981 100644 --- a/clientgui/WizardAttach.cpp +++ b/clientgui/WizardAttach.cpp @@ -67,11 +67,9 @@ IMPLEMENT_DYNAMIC_CLASS( CWizardAttach, CBOINCBaseWizard ) */ BEGIN_EVENT_TABLE( CWizardAttach, CBOINCBaseWizard ) - ////@begin CWizardAttach event table entries EVT_WIZARDEX_FINISHED( ID_ATTACHWIZARD, CWizardAttach::OnFinished ) ////@end CWizardAttach event table entries - END_EVENT_TABLE() /*! @@ -83,17 +81,17 @@ CWizardAttach::CWizardAttach() : { } -CWizardAttach::CWizardAttach( wxWindow* parent, wxWindowID id, const wxPoint& pos ) : - CBOINCBaseWizard( parent, id, wxEmptyString, pos ) +CWizardAttach::CWizardAttach( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos ) : + CBOINCBaseWizard( parent, id, title, pos ) { - Create(parent, id, pos); + Create(parent, id, title, pos); } /*! * CWizardAttach creator */ -bool CWizardAttach::Create( wxWindow* parent, wxWindowID id, const wxPoint& pos ) +bool CWizardAttach::Create( wxWindow* parent, wxWindowID id, const wxString& /* title */, const wxPoint& pos ) { ////@begin CWizardAttach member initialisation diff --git a/clientgui/WizardAttach.h b/clientgui/WizardAttach.h index f3d8f92eaf..faf400e8fe 100644 --- a/clientgui/WizardAttach.h +++ b/clientgui/WizardAttach.h @@ -188,10 +188,10 @@ class CWizardAttach: public CBOINCBaseWizard public: /// Constructors CWizardAttach( ); - CWizardAttach( wxWindow* parent, wxWindowID id = SYMBOL_CWIZARDATTACH_IDNAME, const wxPoint& pos = wxDefaultPosition ); + CWizardAttach( wxWindow* parent, wxWindowID id = SYMBOL_CWIZARDATTACH_IDNAME, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition ); /// Creation - bool Create( wxWindow* parent, wxWindowID id = SYMBOL_CWIZARDATTACH_IDNAME, const wxPoint& pos = wxDefaultPosition ); + bool Create( wxWindow* parent, wxWindowID id = SYMBOL_CWIZARDATTACH_IDNAME, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition ); /// Creates the controls and sizers void CreateControls();