void DoDateDemo(wxCommandEvent& event);
void DoTimeDemo(wxCommandEvent& event);
void DoVariantDemo(wxCommandEvent& event);
void DoByteOrderDemo(wxCommandEvent& event);
void DoStreamDemo(wxCommandEvent& event);
void DoDateDemo(wxCommandEvent& event);
void DoTimeDemo(wxCommandEvent& event);
void DoVariantDemo(wxCommandEvent& event);
void DoByteOrderDemo(wxCommandEvent& event);
void DoStreamDemo(wxCommandEvent& event);
public:
MyFrame(wxFrame *parent, const wxString& title,
const wxPoint& pos, const wxSize& size);
public:
MyFrame(wxFrame *parent, const wxString& title,
const wxPoint& pos, const wxSize& size);
-#define TYPES_QUIT wxID_EXIT
-#define TYPES_TEXT 101
-#define TYPES_ABOUT 102
-
-#define TYPES_DATE 103
-#define TYPES_TIME 104
-#define TYPES_VARIANT 105
-#define TYPES_BYTEORDER 106
-#define TYPES_UNICODE 107
-#define TYPES_STREAM 108
+enum
+{
+ TYPES_QUIT = wxID_EXIT,
+ TYPES_TEXT = 101,
+ TYPES_ABOUT,
+
+ TYPES_DATE,
+ TYPES_TIME,
+ TYPES_VARIANT,
+ TYPES_BYTEORDER,
+ TYPES_UNICODE,
+ TYPES_STREAM,
+ TYPES_STREAM2,
+ TYPES_STREAM3,
+ TYPES_STREAM4,
+ TYPES_STREAM5,
+ TYPES_MIME
+};