Remove environment-specific line for OS X
This commit is contained in:
parent
042be6734c
commit
f376790583
1
Makefile
1
Makefile
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user