void OpenWindowsPanel::PopulateView() { if(m_toolbar->FindById(wxID_SORT_ASCENDING)->IsChecked()) { SortAlphabetically(); } else { SortByEditorOrder(); } }
void OpenWindowsPanel::PopulateView() { if(m_auibar->GetToolToggled(XRCID("TabsSortTool"))) { SortAlphabetically(); } else { SortByEditorOrder(); } }
void OpenWindowsPanel::OnSortItems(wxCommandEvent& event) { if(event.IsChecked()) { SortAlphabetically(); } else { SortByEditorOrder(); } IEditor* editor = m_mgr->GetActiveEditor(); DoSelectItem(editor); clConfig::Get().Write(kConfigTabsPaneSortAlphabetically, event.IsChecked()); }