FS2_Open
Open source remastering of the Freespace 2 engine
dlgmissionobjectiveseditor.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:
18 {
19 }
20 
21 // Protected Members:
22  // Handlers for dlgMissionObjectives
24 {
25  ((frmFRED2*) GetParent())->OnChildClosed( this );
26  Destroy();
27 }
28 
30 {
31 }
32 
33 void dlgMissionObjectivesEditor::OnOK( wxCommandEvent& event )
34 {
35  // TODO: Save changes in the editor
36  Close();
37 }
38 
40 {
41  // TODO: Restore mission objectives state before this window was created
42  Close();
43 }
void OnCancel(wxCommandEvent &event)
void OnOK(wxCommandEvent &event)
struct _cl_event * event
Definition: Glext.h:7296
void OnNewObjective(wxCommandEvent &event)