- MGR: Make the minimum version of wxWidgets we support 2.8.0 or better

- MGR: Start cleaning up warning related to 2.6 backwards compatibility
    
    /
        configure.ac
    clientgui/
        sg_DlgPreferences.cpp

svn path=/trunk/boinc/; revision=19960
This commit is contained in:
Rom Walton 2009-12-17 23:48:48 +00:00
parent 4b0cae80f5
commit 422973a4c8
3 changed files with 11 additions and 7 deletions

View File

@ -10229,3 +10229,12 @@ David 17 Dec 2009
client/ client/
cpu_sched.cpp cpu_sched.cpp
Rom 17 Dec 2009
- MGR: Make the minimum version of wxWidgets we support 2.8.0 or better
- MGR: Start cleaning up warning related to 2.6 backwards compatibility
/
configure.ac
clientgui/
sg_DlgPreferences.cpp

View File

@ -1091,12 +1091,7 @@ void CDlgPreferences::OnHelp(wxHelpEvent& event) {
* wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK * wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
*/ */
void CDlgPreferences::OnOK( wxCommandEvent& event ) { void CDlgPreferences::OnOK( wxCommandEvent& WXUNUSED(event) ) {
#if wxCHECK_VERSION(2,8,0)
// event.skip();
#else
wxDialog::OnOK(event);
#endif
m_pBackgroundPanel->OnOK(); m_pBackgroundPanel->OnOK();
EndModal(wxID_OK); EndModal(wxID_OK);
} }

View File

@ -679,7 +679,7 @@ fi
dnl ---------- wxWidgets -------------------------------------------------- dnl ---------- wxWidgets --------------------------------------------------
if test "${enable_manager}" = yes ; then if test "${enable_manager}" = yes ; then
BOINC_OPTIONS_WXWIDGETS([2.6.0]) BOINC_OPTIONS_WXWIDGETS([2.8.0])
if test "$enable_release_client" = yes -a "$disable_static_linkage" = no if test "$enable_release_client" = yes -a "$disable_static_linkage" = no
then then
BOINC_CHECK_GTK BOINC_CHECK_GTK