Пример #1
0
void AnimaMouseInteractor::UpdateScene(AnimaScene* scene, AFloat elapsedTime)
{
	AnimaEventArgs* args = new AnimaUpdateSceneEventArgs(this, scene, elapsedTime);

	LaunchEvent("onUpdateScene", args);

	delete args;
	args = nullptr;
}
Пример #2
0
// when the user double clicks on the server list
void dlgMain::OnServerListDoubleClick(wxListEvent& event)
{
    wxCommandEvent LaunchEvent(wxEVT_COMMAND_TOOL_CLICKED, Id_MnuItmLaunch);
    
    wxPostEvent(this, LaunchEvent);
}