Removed the log window which nobody seems to use. Closes #1026

Originally committed to SVN as r3710.
This commit is contained in:
harukalover 2009-10-13 21:53:50 +00:00
parent 3032c4f883
commit 59cf4b656a
3 changed files with 0 additions and 23 deletions

View file

@ -126,9 +126,6 @@ FrameMain::FrameMain (wxArrayString args)
// Set application's frame
AegisubApp::Get()->frame = this;
StartupLog(_T("Create log window"));
LogWindow = new wxLogWindow(this, _T("Aegisub log window"), false, false);
// Initialize flags
HasSelection = false;
menuCreated = false;
@ -546,9 +543,6 @@ void FrameMain::InitMenu() {
AppendBitmapMenuItem(viewMenu,Menu_Tools_Options, MakeHotkeyText(_("&Options..."), _T("Options")), _("Configure Aegisub"), GETIMAGE(options_button_16));
#ifdef WIN32
AppendBitmapMenuItem(viewMenu,Menu_View_Associations, _("&Associations..."), _("Associate file types with Aegisub"), GETIMAGE(blank_button_16));
#endif
#ifdef __WXDEBUG__
AppendBitmapMenuItem(viewMenu,Menu_Tools_Log, _("Lo&g Window..."), _("Open log window"), GETIMAGE(blank_button_16));
#endif
viewMenu->AppendSeparator();
viewMenu->AppendRadioItem(Menu_View_Subs, _("Subs Only View"), _("Display subtitles only"));

View file

@ -172,9 +172,6 @@ private:
/// DOCME
wxWindow *PreviousFocus;
/// DOCME
wxLogWindow *LogWindow;
#ifdef WITH_AUTOMATION
/// DOCME
@ -295,7 +292,6 @@ private:
void OnOpenASSDraw (wxCommandEvent &event);
void OnOpenOptions (wxCommandEvent &event);
void OnOpenLog (wxCommandEvent &event);
void OnGridEvent (wxCommandEvent &event);
void OnOpenAutomation (wxCommandEvent &event);
@ -656,9 +652,6 @@ enum {
/// DOCME
Menu_Tools_Options,
/// DOCME
Menu_Tools_Log,
/// DOCME
Menu_Tools_ASSDraw,

View file

@ -184,7 +184,6 @@ BEGIN_EVENT_TABLE(FrameMain, wxFrame)
EVT_MENU(Menu_Tools_Timing_Processor, FrameMain::OnOpenTimingProcessor)
EVT_MENU(Menu_Tools_Kanji_Timer, FrameMain::OnOpenKanjiTimer)
EVT_MENU(Menu_Tools_Options, FrameMain::OnOpenOptions)
EVT_MENU(Menu_Tools_Log, FrameMain::OnOpenLog)
EVT_MENU(Menu_Tools_ASSDraw, FrameMain::OnOpenASSDraw)
EVT_MENU(Menu_Subs_Snap_Start_To_Video, FrameMain::OnSnapSubsStartToVid)
@ -1199,15 +1198,6 @@ void FrameMain::OnOpenOptions (wxCommandEvent &event) {
/// @brief Open log window
/// @param event
///
void FrameMain::OnOpenLog (wxCommandEvent &event) {
LogWindow->Show(true);
}
/// @brief Launch ASSDraw
/// @param event
///