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
|
# Platform compiler flags
|
||||||
ifeq ($(OS),Darwin)
|
ifeq ($(OS),Darwin)
|
||||||
CXX = $(shell wx-config --cxx)
|
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
|
LDLIBS += /usr/local/lib/libssh2.a
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS),Linux)
|
ifeq ($(OS),Linux)
|
||||||
|
@ -475,12 +475,7 @@ void MainFrame::OnEditFind(wxCommandEvent &WXUNUSED(event))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
findDlg = new wxFindReplaceDialog(
|
findDlg = new wxFindReplaceDialog(this, findReplaceData, "Find");
|
||||||
this,
|
|
||||||
findReplaceData,
|
|
||||||
"Find"
|
|
||||||
);
|
|
||||||
|
|
||||||
findDlg->Show(true);
|
findDlg->Show(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -498,12 +493,8 @@ void MainFrame::OnEditReplace(wxCommandEvent &WXUNUSED(event))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
replaceDlg = new wxFindReplaceDialog(
|
replaceDlg = new wxFindReplaceDialog(this, findReplaceData,
|
||||||
this,
|
"Find and Replace", wxFR_REPLACEDIALOG);
|
||||||
findReplaceData,
|
|
||||||
"Find and Replace",
|
|
||||||
wxFR_REPLACEDIALOG
|
|
||||||
);
|
|
||||||
|
|
||||||
replaceDlg->Show(true);
|
replaceDlg->Show(true);
|
||||||
}
|
}
|
||||||
@ -570,9 +561,6 @@ void MainFrame::OnFindDialog(wxFindDialogEvent &event)
|
|||||||
|
|
||||||
if (new_pos >= 0)
|
if (new_pos >= 0)
|
||||||
{
|
{
|
||||||
/*editor->SetSelectionStart(editor->GetAnchor());
|
|
||||||
editor->SetSelectionEnd(new_pos);*/
|
|
||||||
|
|
||||||
new_line = editor->LineFromPosition(new_pos);
|
new_line = editor->LineFromPosition(new_pos);
|
||||||
editor->ScrollToLine(new_line);
|
editor->ScrollToLine(new_line);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user