From: <hug...@li...> - 2012-08-07 16:29:44
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgroot/hugin/hugin/rev/faadca41f498 changeset: 5949:faadca41f498 user: tmodes date: Tue Aug 07 18:29:46 2012 +0200 description: Fixes some strings in save camera dialog [1033645] diffstat: src/hugin1/base_wx/wxLensDB.cpp | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diffs (33 lines): diff -r 611dd81fab0b -r faadca41f498 src/hugin1/base_wx/wxLensDB.cpp --- a/src/hugin1/base_wx/wxLensDB.cpp Tue Aug 07 18:16:40 2012 +0200 +++ b/src/hugin1/base_wx/wxLensDB.cpp Tue Aug 07 18:29:46 2012 +0200 @@ -859,19 +859,6 @@ //set parameters wxConfigBase * config = wxConfigBase::Get(); - // get display size - int dx,dy; - wxDisplaySize(&dx,&dy); - int w = config->Read(wxT("/SaveCamDialog/width"),-1l); - int h = config->Read(wxT("/SaveCamDialog/height"),-1l); - if (w>0 && w<=dx && h>0 && h<=dy) - { - SetClientSize(w,h); - } - else - { - Fit(); - } //position int x = config->Read(wxT("/SaveCamDialog/positionX"),-1l); int y = config->Read(wxT("/SaveCamDialog/positionY"),-1l); @@ -938,9 +925,6 @@ }; //store selected options wxConfigBase * config = wxConfigBase::Get(); - wxSize sz = this->GetClientSize(); - config->Write(wxT("/SaveCamDialog/width"), sz.GetWidth()); - config->Write(wxT("/SaveCamDialog/height"), sz.GetHeight()); wxPoint ps = this->GetPosition(); config->Write(wxT("/SaveCamDialog/positionX"), ps.x); config->Write(wxT("/SaveCamDialog/positionY"), ps.y); |