From efc04d9e4c201489b0004398ebbdc6aa188ec988 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Sun, 20 Jan 2008 20:05:29 +0000 Subject: [PATCH] Another attempt to fix assdraw icon on Unix Originally committed to SVN as r1794. --- aegisub/frame_main.cpp | 4 ++-- aegisub/res.rc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aegisub/frame_main.cpp b/aegisub/frame_main.cpp index c7a2fd0d3..76f8d0dd2 100644 --- a/aegisub/frame_main.cpp +++ b/aegisub/frame_main.cpp @@ -250,7 +250,7 @@ void FrameMain::InitToolbar () { // Tools if (HasASSDraw()) { - Toolbar->AddTool(Menu_Tools_ASSDraw,_T("ASSDraw3"),wxBITMAP(assdraw3),_("Launches ai-chan's \"ASSDraw3\" tool for vector drawing.")); + Toolbar->AddTool(Menu_Tools_ASSDraw,_T("ASSDraw3"),wxBITMAP(assdraw),_("Launches ai-chan's \"ASSDraw3\" tool for vector drawing.")); Toolbar->AddSeparator(); } Toolbar->AddTool(Menu_Edit_Shift,_("Shift Times"),wxBITMAP(shift_times_toolbutton),_("Open Shift Times Dialogue")); @@ -356,7 +356,7 @@ void FrameMain::InitMenu() { AppendBitmapMenuItem (subtitlesMenu,Menu_Tools_SpellCheck, _("Spe&ll Checker..."),_("Open spell checker"), wxBITMAP(spellcheck_toolbutton)); if (HasASSDraw()) { subtitlesMenu->AppendSeparator(); - AppendBitmapMenuItem (subtitlesMenu,Menu_Tools_ASSDraw,_T("ASSDraw3..."),_("Launches ai-chan's \"ASSDraw3\" tool for vector drawing."), wxBITMAP(assdraw3)); + AppendBitmapMenuItem (subtitlesMenu,Menu_Tools_ASSDraw,_T("ASSDraw3..."),_("Launches ai-chan's \"ASSDraw3\" tool for vector drawing."), wxBITMAP(assdraw)); } subtitlesMenu->AppendSeparator(); AppendBitmapMenuItem(InsertMenu,MENU_INSERT_BEFORE,_("&Before Current"),_("Inserts a line before current"),wxBITMAP(blank_button)); diff --git a/aegisub/res.rc b/aegisub/res.rc index aa843d467..491dc8c0a 100644 --- a/aegisub/res.rc +++ b/aegisub/res.rc @@ -167,7 +167,7 @@ eyedropper_cursor CURSOR "bitmaps/eyedropper.cur" splash BITMAP "bitmaps/splash.bmp" -assdraw3 BITMAP "bitmaps/assdraw.bmp" +assdraw BITMAP "bitmaps/assdraw.bmp" // The following define is necessary for Visual Studio