mirror of https://github.com/BOINC/boinc.git
MGR: Add comments about know bugs in wxCocoa 3.0.0.
This commit is contained in:
parent
39edd6d3f8
commit
a862fa58f4
|
@ -207,10 +207,15 @@ public:
|
|||
//
|
||||
void HideThisApp(void);
|
||||
|
||||
#if !wxCHECK_VERSION(3,0,0)
|
||||
// This should be fixed after wxCocoa 3.0.0:
|
||||
// http://trac.wxwidgets.org/ticket/16156
|
||||
|
||||
// Override standard wxCocoa wxApp::CallOnInit() to allow Manager
|
||||
// to run properly when launched hidden on login via Login Item.
|
||||
bool CallOnInit();
|
||||
|
||||
#endif
|
||||
|
||||
void CheckPartialActivation();
|
||||
#endif
|
||||
|
||||
|
|
|
@ -180,7 +180,9 @@ void CDlgSelectComputer::CreateControls(bool required)
|
|||
m_Shortcuts[2].Set(wxACCEL_CTRL, 'v', wxID_PASTE);
|
||||
m_pAccelTable = new wxAcceleratorTable(3, m_Shortcuts);
|
||||
m_ComputerPasswordCtrl->SetAcceleratorTable(*m_pAccelTable);
|
||||
// I don't know why this works for m_ComputerPasswordCtrl but not m_ComputerNameCtrl
|
||||
|
||||
// This does not work for m_ComputerNameCtrl under wxCocoa 3.0.0
|
||||
// because of a known bug: http://trac.wxwidgets.org/ticket/14953
|
||||
m_ComputerNameCtrl->SetAcceleratorTable(*m_pAccelTable);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
#include "BOINCGUIApp.h"
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#if !wxCHECK_VERSION(3,0,0)
|
||||
// This should be fixed after wxCocoa 3.0.0:
|
||||
// http://trac.wxwidgets.org/ticket/16156
|
||||
|
||||
// Cocoa routines which are part of CBOINCGUIApp
|
||||
// Override standard wxCocoa wxApp::CallOnInit() to allow Manager
|
||||
|
@ -42,6 +45,7 @@ bool CBOINCGUIApp::CallOnInit() {
|
|||
[mypool release];
|
||||
return retVal;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// Our application can get into a strange state
|
||||
|
|
Loading…
Reference in New Issue