| 1 |
#ifndef MYDIALOG_H |
| 2 |
#define MYDIALOG_H |
| 3 |
|
| 4 |
#include <wx/dialog.h> |
| 5 |
|
| 6 |
class MyDialog : public wxDialog |
| 7 |
{ |
| 8 |
public: |
| 9 |
MyDialog(); |
| 10 |
// Constructor with no modal flag - the new convention. |
| 11 |
MyDialog(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos = wxDefaultPosition, |
| 12 |
const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, |
| 13 |
const wxString& name = wxDialogNameStr) |
| 14 |
: wxDialog(parent, id, title, pos, size, style, name) |
| 15 |
{ |
| 16 |
} |
| 17 |
virtual ~MyDialog(); |
| 18 |
}; |
| 19 |
|
| 20 |
#endif // MYDIALOG_H |