本文整理汇总了C++中wxSpinEvent::Skip方法的典型用法代码示例。如果您正苦于以下问题:C++ wxSpinEvent::Skip方法的具体用法?C++ wxSpinEvent::Skip怎么用?C++ wxSpinEvent::Skip使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类wxSpinEvent
的用法示例。
在下文中一共展示了wxSpinEvent::Skip方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void
PreferencesDialog::OnNumberScale(wxSpinEvent & evt)
{
m_frame->m_gridCtrl->SetNumberScale(evt.GetPosition() / 100.);
m_frame->m_gridCtrl->Refresh();
evt.Skip();
}
示例2: OnChangeWidth
void HTMLButcherAdjustSizeDialog::OnChangeWidth(wxSpinEvent &event)
{
if (updating_) return;
area_->Resize(event.GetPosition());
UpdateDisplay();
event.Skip();
}
示例3: OnChangeMoveTop
void HTMLButcherAdjustSizeDialog::OnChangeMoveTop(wxSpinEvent &event)
{
if (updating_) return;
area_->Move(-1, event.GetPosition());
UpdateDisplay();
event.Skip();
}
示例4: OnBinsSpinEvent
void CorrelParamsFrame::OnBinsSpinEvent(wxSpinEvent& ev)
{
int val = ev.GetValue();
if (val != num_bins) {
OnApplyBtn(ev);
}
val = num_bins;
ev.Skip();
}
示例5: OnChangeBottom
void HTMLButcherAdjustSizeDialog::OnChangeBottom(wxSpinEvent &event)
{
if (updating_) return;
if (area_->GetBottom()->CanMove(event.GetPosition()+1))
{
area_->GetBottom()->Move(event.GetPosition()+1);
}
UpdateDisplay();
event.Skip();
}
示例6: OnSpin
void ParamCon::OnSpin(wxSpinEvent& event)
{
wxString text;
//int spindir = event.GetPosition();
//if(mainwin && mainwin->diagnostic) mainwin->diagbox->textbox->AppendText(text.Format("\nspin click %d\n", spindir));
if(panel->toolbox) {
//panel->toolbox->diagbox->Write("tool spin click\n");
panel->toolbox->SpinClick(name);
}
event.Skip();
}
示例7: OnSpin
void mmTransDialog::OnSpin(wxSpinEvent& event)
{
wxDateTime date = dpc_->GetValue();
int value = event.GetPosition();
date = date.Add(wxDateSpan::Days(value));
dpc_->SetValue(date);
spinCtrl_->SetValue(0);
//process date change event for set weekday name
wxDateEvent dateEvent(dpc_, date, wxEVT_DATE_CHANGED);
GetEventHandler()->ProcessEvent(dateEvent);
event.Skip();
}
示例8: OnSpinCtrlTraces
void wxStfChildFrame::OnSpinCtrlTraces( wxSpinEvent& event ){
event.Skip();
wxStfView* pView=(wxStfView*)GetView();
wxStfDoc* pDoc=(wxStfDoc*)GetDocument();
if (pDoc == NULL || pView == NULL) {
wxGetApp().ErrorMsg(wxT("Null pointer in wxStfChildFrame::OnSpinCtrlTraces()"));
return;
}
pDoc->SetSection(GetCurTrace());
wxGetApp().OnPeakcalcexecMsg();
if (pView->GetGraph() != NULL) {
pView->GetGraph()->Refresh();
pView->GetGraph()->Enable();
pView->GetGraph()->SetFocus();
}
}
示例9: OnSpinctrlUpdated
void nmeaSendObjectDlg::OnSpinctrlUpdated( wxSpinEvent& event )
{
SendObjOfThisDlg->SetRepeatTime( itemSpinCtrl->GetValue() );
event.Skip();
}
示例10: OnSpinCtrl
void SimpleTransientPopup::OnSpinCtrl(wxSpinEvent& event)
{
wxLogMessage( "%p SimpleTransientPopup::OnSpinCtrl ID %d Value %d",
this, event.GetId(), event.GetInt());
event.Skip();
}
示例11: OnBinsSpinEvent
void CorrelParamsFrame::OnBinsSpinEvent(wxSpinEvent& ev)
{
OnApplyBtn(ev);
ev.Skip();
}