forked from mia/Aegisub
Removed the log window which nobody seems to use. Closes #1026
Originally committed to SVN as r3710.
This commit is contained in:
parent
3032c4f883
commit
59cf4b656a
|
@ -126,9 +126,6 @@ FrameMain::FrameMain (wxArrayString args)
|
||||||
// Set application's frame
|
// Set application's frame
|
||||||
AegisubApp::Get()->frame = this;
|
AegisubApp::Get()->frame = this;
|
||||||
|
|
||||||
StartupLog(_T("Create log window"));
|
|
||||||
LogWindow = new wxLogWindow(this, _T("Aegisub log window"), false, false);
|
|
||||||
|
|
||||||
// Initialize flags
|
// Initialize flags
|
||||||
HasSelection = false;
|
HasSelection = false;
|
||||||
menuCreated = 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));
|
AppendBitmapMenuItem(viewMenu,Menu_Tools_Options, MakeHotkeyText(_("&Options..."), _T("Options")), _("Configure Aegisub"), GETIMAGE(options_button_16));
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
AppendBitmapMenuItem(viewMenu,Menu_View_Associations, _("&Associations..."), _("Associate file types with Aegisub"), GETIMAGE(blank_button_16));
|
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
|
#endif
|
||||||
viewMenu->AppendSeparator();
|
viewMenu->AppendSeparator();
|
||||||
viewMenu->AppendRadioItem(Menu_View_Subs, _("Subs Only View"), _("Display subtitles only"));
|
viewMenu->AppendRadioItem(Menu_View_Subs, _("Subs Only View"), _("Display subtitles only"));
|
||||||
|
|
|
@ -172,9 +172,6 @@ private:
|
||||||
/// DOCME
|
/// DOCME
|
||||||
wxWindow *PreviousFocus;
|
wxWindow *PreviousFocus;
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
wxLogWindow *LogWindow;
|
|
||||||
|
|
||||||
#ifdef WITH_AUTOMATION
|
#ifdef WITH_AUTOMATION
|
||||||
|
|
||||||
/// DOCME
|
/// DOCME
|
||||||
|
@ -295,7 +292,6 @@ private:
|
||||||
void OnOpenASSDraw (wxCommandEvent &event);
|
void OnOpenASSDraw (wxCommandEvent &event);
|
||||||
|
|
||||||
void OnOpenOptions (wxCommandEvent &event);
|
void OnOpenOptions (wxCommandEvent &event);
|
||||||
void OnOpenLog (wxCommandEvent &event);
|
|
||||||
void OnGridEvent (wxCommandEvent &event);
|
void OnGridEvent (wxCommandEvent &event);
|
||||||
|
|
||||||
void OnOpenAutomation (wxCommandEvent &event);
|
void OnOpenAutomation (wxCommandEvent &event);
|
||||||
|
@ -656,9 +652,6 @@ enum {
|
||||||
/// DOCME
|
/// DOCME
|
||||||
Menu_Tools_Options,
|
Menu_Tools_Options,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Log,
|
|
||||||
|
|
||||||
/// DOCME
|
/// DOCME
|
||||||
Menu_Tools_ASSDraw,
|
Menu_Tools_ASSDraw,
|
||||||
|
|
||||||
|
|
|
@ -184,7 +184,6 @@ BEGIN_EVENT_TABLE(FrameMain, wxFrame)
|
||||||
EVT_MENU(Menu_Tools_Timing_Processor, FrameMain::OnOpenTimingProcessor)
|
EVT_MENU(Menu_Tools_Timing_Processor, FrameMain::OnOpenTimingProcessor)
|
||||||
EVT_MENU(Menu_Tools_Kanji_Timer, FrameMain::OnOpenKanjiTimer)
|
EVT_MENU(Menu_Tools_Kanji_Timer, FrameMain::OnOpenKanjiTimer)
|
||||||
EVT_MENU(Menu_Tools_Options, FrameMain::OnOpenOptions)
|
EVT_MENU(Menu_Tools_Options, FrameMain::OnOpenOptions)
|
||||||
EVT_MENU(Menu_Tools_Log, FrameMain::OnOpenLog)
|
|
||||||
EVT_MENU(Menu_Tools_ASSDraw, FrameMain::OnOpenASSDraw)
|
EVT_MENU(Menu_Tools_ASSDraw, FrameMain::OnOpenASSDraw)
|
||||||
|
|
||||||
EVT_MENU(Menu_Subs_Snap_Start_To_Video, FrameMain::OnSnapSubsStartToVid)
|
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
|
/// @brief Launch ASSDraw
|
||||||
/// @param event
|
/// @param event
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue