Remove environment-specific line for OS X

This commit is contained in:
Tim Warren 2015-05-05 19:45:08 -04:00
parent 042be6734c
commit f376790583
2 changed files with 4 additions and 17 deletions

View File

@ -31,7 +31,6 @@ endif
# Platform compiler flags
ifeq ($(OS),Darwin)
CXX = $(shell wx-config --cxx)
CXX += -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.5.sdk
LDLIBS += /usr/local/lib/libssh2.a
endif
ifeq ($(OS),Linux)

View File

@ -475,12 +475,7 @@ void MainFrame::OnEditFind(wxCommandEvent &WXUNUSED(event))
}
else
{
findDlg = new wxFindReplaceDialog(
this,
findReplaceData,
"Find"
);
findDlg = new wxFindReplaceDialog(this, findReplaceData, "Find");
findDlg->Show(true);
}
}
@ -498,12 +493,8 @@ void MainFrame::OnEditReplace(wxCommandEvent &WXUNUSED(event))
}
else
{
replaceDlg = new wxFindReplaceDialog(
this,
findReplaceData,
"Find and Replace",
wxFR_REPLACEDIALOG
);
replaceDlg = new wxFindReplaceDialog(this, findReplaceData,
"Find and Replace", wxFR_REPLACEDIALOG);
replaceDlg->Show(true);
}
@ -570,9 +561,6 @@ void MainFrame::OnFindDialog(wxFindDialogEvent &event)
if (new_pos >= 0)
{
/*editor->SetSelectionStart(editor->GetAnchor());
editor->SetSelectionEnd(new_pos);*/
new_line = editor->LineFromPosition(new_pos);
editor->ScrollToLine(new_line);
}