21#ifndef DIALOG_GIT_SWITCH_H
22#define DIALOG_GIT_SWITCH_H
std::vector< KIGIT_BRANCH_INFO > m_branches
void PopulateBranchList()
bool branchExists(const wxString &aName) const
wxListView * m_branchList
virtual ~DIALOG_GIT_SWITCH()
WX_DEBOUNCED_ACTION m_branchNameDebounce
wxString GetBranchName() const
void OnTextChanged(wxCommandEvent &event)
void updateSwitchButton()
wxButton * m_switchButton
wxString m_lastEnteredText
void OnCancelButton(wxCommandEvent &event)
DIALOG_GIT_SWITCH(wxWindow *aParent, std::vector< KIGIT_BRANCH_INFO > aBranches)
wxTextCtrl * m_branchNameText
void OnBranchListSelection(wxListEvent &event)
void OnBranchListDClick(wxListEvent &event)
void OnSwitchButton(wxCommandEvent &event)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
Debounces an action: runs it only after a quiet period following the last trigger.