]>
git.saurik.com Git - wxWidgets.git/blob - demos/life/dialogs.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Life! dialogs
4 // Author: Guillermo Rodriguez Garcia, <guille@iies.es>
8 // Copyright: (c) 2000, Guillermo Rodriguez Garcia
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _LIFE_DIALOGS_H_
13 #define _LIFE_DIALOGS_H_
16 #pragma interface "dialogs.h"
19 // for compilers that support precompilation, includes "wx/wx.h"
20 #include "wx/wxprec.h"
26 // for all others, include the necessary headers
31 #include "wx/spinctrl.h"
37 // --------------------------------------------------------------------------
39 // --------------------------------------------------------------------------
41 class LifeSamplesDialog
: public wxDialog
45 LifeSamplesDialog(wxWindow
*parent
);
49 const LifeShape
& GetShape();
52 void OnListBox(wxCommandEvent
&event
);
55 // any class wishing to process wxWindows events must use this macro
65 // --------------------------------------------------------------------------
67 // --------------------------------------------------------------------------
69 class LifeAboutDialog
: public wxDialog
73 LifeAboutDialog(wxWindow
*parent
);
76 #endif // _LIFE_DIALOGS_H_