forked from mia/Aegisub
Remove pointless commented-out code
Originally committed to SVN as r6878.
This commit is contained in:
parent
ae672b64af
commit
1da7502d6e
2 changed files with 1 additions and 9 deletions
|
@ -20,6 +20,7 @@ LDFLAGS += $(LDFLAGS_CCMALLOC)
|
||||||
|
|
||||||
ifdef BUILD_DARWIN
|
ifdef BUILD_DARWIN
|
||||||
LIBS += -lz
|
LIBS += -lz
|
||||||
|
SRC += osx_utils.mm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
###############
|
###############
|
||||||
|
|
|
@ -152,10 +152,6 @@ FrameMain::FrameMain (wxArrayString args)
|
||||||
context->previousFocus = 0;
|
context->previousFocus = 0;
|
||||||
wxGetApp().frame = this;
|
wxGetApp().frame = this;
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
|
||||||
// Bind(FrameMain::OnAbout, &FrameMain::cmd_call, this, cmd::id("app/about"));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
StartupLog("Install PNG handler");
|
StartupLog("Install PNG handler");
|
||||||
wxImage::AddHandler(new wxPNGHandler);
|
wxImage::AddHandler(new wxPNGHandler);
|
||||||
#ifndef __APPLE__
|
#ifndef __APPLE__
|
||||||
|
@ -597,11 +593,6 @@ BEGIN_EVENT_TABLE(FrameMain, wxFrame)
|
||||||
|
|
||||||
EVT_CHAR_HOOK(FrameMain::OnKeyDown)
|
EVT_CHAR_HOOK(FrameMain::OnKeyDown)
|
||||||
EVT_MOUSEWHEEL(FrameMain::OnMouseWheel)
|
EVT_MOUSEWHEEL(FrameMain::OnMouseWheel)
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
|
||||||
// EVT_MENU(wxID_ABOUT, FrameMain::OnAbout)
|
|
||||||
// EVT_MENU(wxID_EXIT, FrameMain::OnExit)
|
|
||||||
#endif
|
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
void FrameMain::OnCloseWindow (wxCloseEvent &event) {
|
void FrameMain::OnCloseWindow (wxCloseEvent &event) {
|
||||||
|
|
Loading…
Reference in a new issue