示例#1
0
bool wxComboBox::CanCut() const
{
    return CanCopy() && IsEditable();
}
示例#2
0
void wxComboBox::OnUpdateCopy(wxUpdateUIEvent& event)
{
    event.Enable( CanCopy() );
}
示例#3
0
bool wxTextCtrl::CanCut() const
{
    return CanCopy() && IsEditable();
}
示例#4
0
void wxTextCtrl::OnUpdateCopy(wxUpdateUIEvent& event)
{
    event.Enable( CanCopy() );
}
示例#5
0
void wxWebFrame::Copy()
{
    if (CanCopy())
        m_impl->frame->editor()->copy();
}
示例#6
0
bool CPWL_Edit::CanCut() const {
  return CanCopy() && !IsReadOnly();
}
示例#7
0
bool wxTextCtrlBase::CanCut() const
{
    // can cut if there's a selection and if we're not read only
    return CanCopy() && IsEditable();
}