mirror of https://github.com/BOINC/boinc.git
- MGR: Bad things happen when you don't initialize default values
for variables under wxWidgets. clientgui/ TermsOfUsePage.cpp svn path=/trunk/boinc/; revision=21032
This commit is contained in:
parent
0cf09e579e
commit
826e3e56de
|
@ -2271,3 +2271,10 @@ David 30 Mar 2010
|
|||
gui_rpc_client_ops.cpp
|
||||
client/
|
||||
acct_setup.cpp,h
|
||||
|
||||
Rom 30 Mar 2010
|
||||
- MGR: Bad things happen when you don't initialize default values
|
||||
for variables under wxWidgets.
|
||||
|
||||
clientgui/
|
||||
TermsOfUsePage.cpp
|
||||
|
|
|
@ -84,9 +84,10 @@ bool CTermsOfUsePage::Create( CBOINCBaseWizard* parent )
|
|||
m_pTermsOfUseCtrl = NULL;
|
||||
m_pAgreeCtrl = NULL;
|
||||
m_pDisagreeCtrl = NULL;
|
||||
m_bUserAgrees = false;
|
||||
////@end CTermsOfUsePage member initialisation
|
||||
|
||||
m_bUserAgrees = false;
|
||||
m_bCredentialsAlreadyAvailable = false;
|
||||
|
||||
////@begin CTermsOfUsePage creation
|
||||
wxWizardPageEx::Create( parent, ID_TERMSOFUSEPAGE );
|
||||
|
||||
|
@ -290,7 +291,7 @@ void CTermsOfUsePage::OnTermsOfUseStatusChange( wxCommandEvent& event ) {
|
|||
SetUserAgrees(true);
|
||||
} else {
|
||||
wxLogTrace(wxT("Function Status"), wxT("CTermsOfUsePage::OnTermsOfUseStatusChange - SetUserAgrees(false)"));
|
||||
SetUserAgrees(true);
|
||||
SetUserAgrees(false);
|
||||
}
|
||||
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CTermsOfUsePage::OnTermsOfUseStatusChange - Function End"));
|
||||
|
|
Loading…
Reference in New Issue