当前位置: 首页>>代码示例>>C++>>正文


C++ wxSpinEvent::Skip方法代码示例

本文整理汇总了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();
}
开发者ID:brho,项目名称:xword,代码行数:7,代码来源:Preferences.cpp

示例2: OnChangeWidth

void HTMLButcherAdjustSizeDialog::OnChangeWidth(wxSpinEvent &event)
{
    if (updating_) return;

    area_->Resize(event.GetPosition());

    UpdateDisplay();
    event.Skip();
}
开发者ID:RangelReale,项目名称:htmlbutcher,代码行数:9,代码来源:DialogAdjustSize.cpp

示例3: OnChangeMoveTop

void HTMLButcherAdjustSizeDialog::OnChangeMoveTop(wxSpinEvent &event)
{
    if (updating_) return;

    area_->Move(-1, event.GetPosition());

    UpdateDisplay();
    event.Skip();
}
开发者ID:RangelReale,项目名称:htmlbutcher,代码行数:9,代码来源:DialogAdjustSize.cpp

示例4: OnBinsSpinEvent

void CorrelParamsFrame::OnBinsSpinEvent(wxSpinEvent& ev)
{
    int val = ev.GetValue();
    if (val != num_bins) {
        OnApplyBtn(ev);
    }
    val = num_bins;
    ev.Skip();
}
开发者ID:lixun910,项目名称:geoda,代码行数:9,代码来源:CorrelParamsDlg.cpp

示例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();
}
开发者ID:RangelReale,项目名称:htmlbutcher,代码行数:11,代码来源:DialogAdjustSize.cpp

示例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();
}
开发者ID:HypoModel,项目名称:HypoModBase,代码行数:14,代码来源:hypocontrols.cpp

示例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();
}
开发者ID:twoubt,项目名称:moneymanagerex,代码行数:15,代码来源:transdialog.cpp

示例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();
    }
}
开发者ID:SergiiRv,项目名称:stimfit,代码行数:20,代码来源:childframe.cpp

示例9: OnSpinctrlUpdated

void nmeaSendObjectDlg::OnSpinctrlUpdated( wxSpinEvent& event )
{
    SendObjOfThisDlg->SetRepeatTime( itemSpinCtrl->GetValue() ); 
    event.Skip();
}
开发者ID:RooieDirk,项目名称:NmeaConverter_pi,代码行数:5,代码来源:NmeaConverter_pi.cpp

示例10: OnSpinCtrl

void SimpleTransientPopup::OnSpinCtrl(wxSpinEvent& event)
{
    wxLogMessage( "%p SimpleTransientPopup::OnSpinCtrl ID %d Value %d",
                  this, event.GetId(), event.GetInt());
    event.Skip();
}
开发者ID:ruifig,项目名称:nutcracker,代码行数:6,代码来源:popup.cpp

示例11: OnBinsSpinEvent

void CorrelParamsFrame::OnBinsSpinEvent(wxSpinEvent& ev)
{
    OnApplyBtn(ev);
    ev.Skip();
}
开发者ID:GeoDaCenter,项目名称:geoda,代码行数:5,代码来源:CorrelParamsDlg.cpp


注:本文中的wxSpinEvent::Skip方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。