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:
Charlie Fenton 2010-03-03 01:53:02 +00:00
parent 7ba5ea88b2
commit f912708105
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -63,7 +63,6 @@ protected:
wxGridBagSizer* m_gbSizer;
wxButton* m_btnClose;
wxString m_strBaseConfigLocation;
};
#endif // _DLGITEMPROPERTIES_H_