mirror of https://github.com/BOINC/boinc.git
MGR: Save & restore separate size info for project, task property dialogs; save positions on Mac
svn path=/trunk/boinc/; revision=20777
This commit is contained in:
parent
7ba5ea88b2
commit
f912708105
|
@ -94,6 +94,7 @@ CDlgItemProperties::~CDlgItemProperties() {
|
|||
/* saves dialog size and (on Mac) position */
|
||||
bool CDlgItemProperties::SaveState() {
|
||||
wxConfigBase* pConfig = wxConfigBase::Get(FALSE);
|
||||
|
||||
wxASSERT(pConfig);
|
||||
if (!pConfig) return false;
|
||||
|
||||
|
@ -113,7 +114,6 @@ bool CDlgItemProperties::RestoreState() {
|
|||
int iWidth, iHeight;
|
||||
|
||||
wxASSERT(pConfig);
|
||||
|
||||
if (!pConfig) return false;
|
||||
|
||||
pConfig->SetPath(m_strBaseConfigLocation);
|
||||
|
|
|
@ -63,7 +63,6 @@ protected:
|
|||
wxGridBagSizer* m_gbSizer;
|
||||
wxButton* m_btnClose;
|
||||
wxString m_strBaseConfigLocation;
|
||||
|
||||
};
|
||||
|
||||
#endif // _DLGITEMPROPERTIES_H_
|
||||
|
|
Loading…
Reference in New Issue