예제 #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();
}