- MGR: Fix the event log so that it doesn't store the event log's

size information when it is in a minimized state.
    - MGR: Fix the close dialog issue on wxGTK, apparently there is a
        hidden flag that governs the handling of the GTK callback
        function.  Fixes #962 (Thanks for the patch cli)

    clientgui/
        DlgAdvPreferencesBase.cpp
        DlgEventLog.cpp
        DlgItemProperties.cpp

svn path=/trunk/boinc/; revision=22635
This commit is contained in:
Rom Walton 2010-11-08 17:01:02 +00:00
parent 4d79a87eb6
commit 78cd46db66
4 changed files with 21 additions and 8 deletions

View File

@ -7892,3 +7892,15 @@ David 08 Nov 2010
html/inc/
prefs_util.inc
Rom 08 Nov 2010
- MGR: Fix the event log so that it doesn't store the event log's
size information when it is in a minimized state.
- MGR: Fix the close dialog issue on wxGTK, apparently there is a
hidden flag that governs the handling of the GTK callback
function. Fixes #962 (Thanks for the patch cli)
clientgui/
DlgAdvPreferencesBase.cpp
DlgEventLog.cpp
DlgItemProperties.cpp

View File

@ -45,7 +45,7 @@ CDlgAdvPreferencesBase::CDlgAdvPreferencesBase( wxWindow* parent, int id, wxStri
strCaption.Printf(_("%s - Preferences"), pSkinAdvanced->GetApplicationName().c_str());
}
this->SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY );
this->SetExtraStyle( this->GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY );
this->Centre( wxBOTH );
this->SetTitle(strCaption);

View File

@ -671,12 +671,13 @@ void CDlgEventLog::SetWindowDimensions() {
wxASSERT(pConfig);
if (!IsIconized()) {
pConfig->SetPath(strBaseConfigLocation);
pConfig->Write(wxT("XPos"), GetPosition().x);
pConfig->Write(wxT("YPos"), GetPosition().y);
pConfig->Write(wxT("Width"), GetSize().x);
pConfig->Write(wxT("Height"), GetSize().y);
}
}

View File

@ -42,7 +42,7 @@ CDlgItemProperties::CDlgItemProperties(wxWindow* parent) :
if (!pFrame) return;
SetSizeHints( wxDefaultSize, wxDefaultSize );
SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY );
SetExtraStyle( GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY );
m_bSizer1 = new wxBoxSizer( wxVERTICAL );