FS2_Open
Open source remastering of the Freespace 2 engine
dlgeventseditor.cpp
Go to the documentation of this file.
1 /*
2  * Created by Ian "Goober5000" Warfield and "z64555" for the FreeSpace2 Source
3  * Code Project.
4  *
5  * You may not sell or otherwise commercially exploit the source or things you
6  * create based on the source.
7  */
8 
10 #include "frmfred2.h"
11 #include "base/wxfred_base.h"
12 
13 #include <wx/wx.h>
14 
15 // Public Members:
16 dlgEventsEditor::dlgEventsEditor( wxWindow* parent, wxWindowID id )
17  : fredBase::dlgEventsEditor(parent, id)
18 {
19 }
20 
21 // Protected Members:
22  // Handlers for dlgEventsEditor
23 void dlgEventsEditor::OnClose( wxCloseEvent& event )
24 {
25  ((frmFRED2*) GetParent())->OnChildClosed( this );
26  Destroy();
27 }
28 
29 void dlgEventsEditor::OnOK( wxCommandEvent& event )
30 {
31  Close();
32 }
33 
34 void dlgEventsEditor::OnCancel( wxCommandEvent& event)
35 {
36  Close();
37 }
void OnCancel(wxCommandEvent &event)
void OnOK(wxCommandEvent &event)
struct _cl_event * event
Definition: Glext.h:7296
void OnClose(wxCloseEvent &event)