void AnimaMouseInteractor::UpdateScene(AnimaScene* scene, AFloat elapsedTime) { AnimaEventArgs* args = new AnimaUpdateSceneEventArgs(this, scene, elapsedTime); LaunchEvent("onUpdateScene", args); delete args; args = nullptr; }
// 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); }