mirror of https://github.com/BOINC/boinc.git
- Manager: fix build breaks on Win. You can't just say "#elif".
This commit is contained in:
parent
2a70826f9a
commit
f431c28c16
|
@ -90,7 +90,7 @@ bool CWelcomePage::Create( CBOINCBaseWizard* parent )
|
|||
|
||||
#if defined (_WCG)
|
||||
((CWizardAttach*)parent)->IsFirstPass = true;
|
||||
#elif
|
||||
#else
|
||||
((CWizardAttach*)parent)->IsFirstPass = false;
|
||||
#endif
|
||||
|
||||
|
@ -135,7 +135,7 @@ void CWelcomePage::CreateControls()
|
|||
m_pChangeApplicationsCtrl->Create(itemWizardPage2, ID_WELCOMECHANGEAPPS, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
|
||||
#if defined (_WCG)
|
||||
m_pChangeApplicationsCtrl->SetValue(TRUE);
|
||||
#elif
|
||||
#else
|
||||
m_pChangeApplicationsCtrl->SetValue(FALSE);
|
||||
#endif
|
||||
itemFlexGridSizer62->Add(m_pChangeApplicationsCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
@ -144,7 +144,7 @@ void CWelcomePage::CreateControls()
|
|||
m_pAttachToProjectCtrl->Create( itemWizardPage2, ID_WELCOMESELECTWIZARDPROJECT, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
||||
#if defined (_WCG)
|
||||
m_pAttachToProjectCtrl->SetValue(FALSE);
|
||||
#elif
|
||||
#else
|
||||
m_pAttachToProjectCtrl->SetValue(TRUE);
|
||||
#endif
|
||||
itemFlexGridSizer62->Add(m_pAttachToProjectCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
|
|
@ -122,7 +122,7 @@ bool CWizardAttach::Create( wxWindow* parent, wxWindowID id, const wxString& /*
|
|||
#if defined (_WCG)
|
||||
IsAttachToProjectWizard = false;
|
||||
IsChangeWCGApps = true;
|
||||
#elif
|
||||
#else
|
||||
IsAttachToProjectWizard = true;
|
||||
IsChangeWCGApps = false;
|
||||
IsFirstPass = false;
|
||||
|
|
Loading…
Reference in New Issue