mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9289
This commit is contained in:
parent
8ad1f2d895
commit
571aff00f2
|
@ -206,6 +206,18 @@ bool CBOINCGUIApp::OnInit() {
|
|||
m_strDefaultDesktop = wxT("");
|
||||
m_strDefaultDisplay = wxT("");
|
||||
|
||||
// Setup application and company information
|
||||
SetAppName(wxT("BOINC Manager"));
|
||||
SetVendorName(wxT("Space Sciences Laboratory, U.C. Berkeley"));
|
||||
|
||||
|
||||
// Initialize the configuration storage module
|
||||
m_pConfig = new wxConfig(GetAppName());
|
||||
wxConfigBase::Set(m_pConfig);
|
||||
wxASSERT(m_pConfig);
|
||||
|
||||
m_pConfig->SetPath(wxT("/"));
|
||||
|
||||
#ifdef __WXMSW__
|
||||
|
||||
TCHAR szPath[MAX_PATH-1];
|
||||
|
@ -222,6 +234,9 @@ bool CBOINCGUIApp::OnInit() {
|
|||
#endif
|
||||
|
||||
// Setup the branding scheme
|
||||
// NOTE: SetAppName(), SetVendorName(), and the creation of the m_pConfig
|
||||
// variable need to be done before the branding object can be used on
|
||||
// any platform other than the Mac.
|
||||
m_pBranding = new CBrandingScheme;
|
||||
wxASSERT(m_pBranding);
|
||||
|
||||
|
@ -259,18 +274,6 @@ bool CBOINCGUIApp::OnInit() {
|
|||
#endif // __WXMAC__
|
||||
|
||||
|
||||
// Setup application and company information
|
||||
SetAppName(wxT("BOINC Manager"));
|
||||
SetVendorName(wxT("Space Sciences Laboratory, U.C. Berkeley"));
|
||||
|
||||
|
||||
// Initialize the configuration storage module
|
||||
m_pConfig = new wxConfig(GetAppName());
|
||||
wxConfigBase::Set(m_pConfig);
|
||||
wxASSERT(m_pConfig);
|
||||
|
||||
m_pConfig->SetPath(wxT("/"));
|
||||
|
||||
// Initialize the BOINC Diagnostics Framework
|
||||
int dwDiagnosticsFlags =
|
||||
BOINC_DIAG_DUMPCALLSTACKENABLED |
|
||||
|
|
Loading…
Reference in New Issue