OSDN Git Service

ダイアログの見た目が更新されない場合があるのを改善。
authorsirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Fri, 1 Oct 2010 12:50:31 +0000 (12:50 +0000)
committersirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Fri, 1 Oct 2010 12:50:31 +0000 (12:50 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@366 9df91469-1e22-0410-86e7-ea8537beb833

src/lychee/dlg_process.cpp

index 8f42187..7a392c0 100644 (file)
@@ -64,6 +64,7 @@ void ProcessDialog::OnInit(wxInitDialogEvent &)
        this->gArchive          = XRCCTRL(* this, "gArchive",     wxGauge);\r
        this->fCancel           = false;\r
        this->nOverwriteMode    = wxID_OK;\r
+       this->Update();\r
        g_procDlg = this;\r
 \r
        ::wxXmlResource::Get()->Unload(L_DIR_S_XRC wxT("dlg_process.xrc"));\r
@@ -132,6 +133,7 @@ int ProcessDialog::CallbackProc(unsigned int _uMsg, void * _pStructure)
                        this->ebSource->ChangeValue(piInfo->fiInfo.fnFileName.GetFullPath());\r
                        this->gArchive->SetRange(piInfo->fiInfo.nUnpackedSize);\r
                        this->gArchive->SetValue(0);\r
+                       this->Update();\r
                        s_nInterval = piInfo->fiInfo.nUnpackedSize / 10;\r
                        break;\r
                case 0x1001:\r