29 m_configPath(configPath),
31 m_firstMenuItemID(firstMenuItemID)
81 wxString question(
_(
"Do you want to remove it from the recent files list?"));
85 query <<
_(
"The file cannot be opened (probably it's not available anymore).")
86 <<
_T(
"\n") << question;
126 for (
int i = (
int)files.
GetCount() - 1; i >= 0; --i)
ConfigManager * GetConfigManager(const wxString &name_space) const
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
virtual size_t GetCount() const
static bool IsAppShuttingDown()
bool wxFileExists(const wxString &filename)
void RefreshStartHerePage()
virtual wxString GetHistoryFile(size_t index) const
wxArrayString ReadArrayString(const wxString &name)
EditorManager * GetEditorManager() const
void Write(const wxString &name, const wxString &value, bool ignoreEmpty=false)
wxFrame * GetAppFrame() const
RecentItemsList(const wxString &menuName, const wxString &configPath, int menuID, int firstMenuItemID)
Base class that all "editors" should inherit from.
const wxString g_StartHereTitle
const wxString & _(const wxString &string)
EditorBase * GetEditor(int index)
void DeleteSubPath(const wxString &strPath)
DLLIMPORT void PlaceWindow(wxTopLevelWindow *w, cbPlaceDialogMode mode=pdlBest, bool enforce=false)
void AskToRemoveFileFromHistory(size_t id, bool cannot_open=true)
virtual void RemoveMenu(wxMenu *menu)
size_t Add(const wxString &str, size_t copies=1)
wxString GetHistoryFile(size_t id) const
void AddToHistory(const wxString &FileName)
static wxString Format(const wxString &format,...)
Dialog that contains a "Don't annoy me" checkbox.
virtual void AddFileToHistory(const wxString &filename)
virtual void RemoveFileFromHistory(size_t i)