DDX_Control(pDX,IDC_REBASE_COMBOXEX_BRANCH, this->m_BranchCtrl);\r
DDX_Control(pDX,IDC_REBASE_COMBOXEX_UPSTREAM, this->m_UpstreamCtrl);\r
DDX_Check(pDX, IDC_REBASE_CHECK_FORCE,m_bForce);\r
-\r
+ DDX_Control(pDX,IDC_REBASE_POST_BUTTON,m_PostButton);\r
}\r
\r
\r
m_CommitList.GetContextMenuBit(CGitLogListBase::ID_REBASE_EDIT)|\r
m_CommitList.GetContextMenuBit(CGitLogListBase::ID_REBASE_SKIP));\r
\r
- if( m_RebaseStage == REBASE_DONE && (!this->m_PostButtonText.IsEmpty()) )\r
+ if( m_RebaseStage == REBASE_DONE && (this->m_PostButtonTexts.GetCount() != 0) )\r
{\r
this->GetDlgItem(IDC_STATUS_STATIC)->ShowWindow(SW_HIDE);\r
this->GetDlgItem(IDC_REBASE_POST_BUTTON)->ShowWindow(SW_SHOWNORMAL);\r
- this->GetDlgItem(IDC_REBASE_POST_BUTTON)->SetWindowText(this->m_PostButtonText);\r
+ this->m_PostButton.RemoveAll();\r
+ this->m_PostButton.AddEntries(m_PostButtonTexts);\r
+ //this->GetDlgItem(IDC_REBASE_POST_BUTTON)->SetWindowText(this->m_PostButtonText);\r
}\r
break;\r
}\r