]>
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_
15 #if defined(__GNUG__) && !defined(__APPLE__)
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
35 // --------------------------------------------------------------------------
37 // --------------------------------------------------------------------------
39 class LifeSamplesDialog
: public wxDialog
43 LifeSamplesDialog(wxWindow
*parent
);
47 const LifePattern
& GetPattern();
50 void OnListBox(wxCommandEvent
&event
);
53 // any class wishing to process wxWindows events must use this macro
63 // --------------------------------------------------------------------------
65 // --------------------------------------------------------------------------
67 class LifeAboutDialog
: public wxDialog
71 LifeAboutDialog(wxWindow
*parent
);
75 #endif // _LIFE_DIALOGS_H_