示例#1
0
void C3DPlotFrame::OnActivate(wxActivateEvent& event)
{
	LOG_MSG("In C3DPlotFrame::OnActivate");
	if (event.GetActive()) {
		RegisterAsActive("C3DPlotFrame", GetTitle());
	}
}
示例#2
0
void WeightsManFrame::OnActivate(wxActivateEvent& event)
{
	LOG_MSG("In WeightsManFrame::OnActivate");
	if (event.GetActive()) {
		RegisterAsActive("WeightsManFrame", GetTitle());
	}
    if ( event.GetActive() && template_canvas ) template_canvas->SetFocus();
}
示例#3
0
void TestScrollWinFrame::OnActivate(wxActivateEvent& event)
{
  //LOG_MSG("In TestScrollWinFrame::OnActivate");
	if (event.GetActive()) {
		RegisterAsActive("TestScrollWinFrame", GetTitle());
	}
    if ( event.GetActive() && template_canvas )
        template_canvas->SetFocus();
}
void ConditionalHistogramFrame::OnActivate(wxActivateEvent& event)
{
	LOG_MSG("In ConditionalHistogramFrame::OnActivate");
	if (event.GetActive()) {
		RegisterAsActive("ConditionalHistogramFrame", GetTitle());
	}
    if ( event.GetActive() && template_canvas )
        template_canvas->SetFocus();
}