};
// Copies selection to clipboard if the clipboard support is available
- void CopySelection(ClipboardType t = Secondary);
+ bool CopySelection(ClipboardType t = Secondary);
#if wxUSE_CLIPBOARD
// Convert selection to text:
{
SelectLine(CalcUnscrolledPosition(event.GetPosition()));
- CopySelection();
+ (void) CopySelection();
}
else
{
if ( IsSelectionEnabled() &&
event.GetKeyCode() == 'C' && event.ControlDown() )
{
- CopySelection();
+ (void) CopySelection();
}
}
void wxHtmlWindow::OnCopy(wxCommandEvent& WXUNUSED(event))
{
- CopySelection();
+ (void) CopySelection();
}
void wxHtmlWindow::OnDoubleClick(wxMouseEvent& event)
{
SelectWord(CalcUnscrolledPosition(event.GetPosition()));
- CopySelection(Primary);
+ (void) CopySelection(Primary);
m_lastDoubleClick = wxGetLocalTimeMillis();
}