X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e124873c5bd39ba8e9cc3c05ac7e4c97fbe59cd..84ce7b7dba590a3e6042190b79a3b1c0908b0a4c:/samples/typetest/typetest.h diff --git a/samples/typetest/typetest.h b/samples/typetest/typetest.h index a8f6124b38..67a828f5dc 100644 --- a/samples/typetest/typetest.h +++ b/samples/typetest/typetest.h @@ -1,18 +1,13 @@ ///////////////////////////////////////////////////////////////////////////// // Name: typetest.h -// Purpose: Types wxWindows sample +// Purpose: Types wxWidgets sample // Author: Julian Smart // Modified by: // Created: 04/01/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "typetest.h" -#endif - #ifndef _WX_TYPETEST_H_ #define _WX_TYPETEST_H_ @@ -25,14 +20,18 @@ public: bool OnInit(); int OnExit() { delete m_mimeDatabase; return wxApp::OnExit(); } - void DoDateDemo(wxCommandEvent& event); - void DoTimeDemo(wxCommandEvent& event); void DoVariantDemo(wxCommandEvent& event); void DoByteOrderDemo(wxCommandEvent& event); void DoStreamDemo(wxCommandEvent& event); + void DoStreamDemo2(wxCommandEvent& event); + void DoStreamDemo3(wxCommandEvent& event); + void DoStreamDemo4(wxCommandEvent& event); + void DoStreamDemo5(wxCommandEvent& event); + void DoStreamDemo6(wxCommandEvent& event); + void DoStreamDemo7(wxCommandEvent& event); #if wxUSE_UNICODE void DoUnicodeDemo(wxCommandEvent& event); -#endif +#endif // wxUSE_UNICODE void DoMIMEDemo(wxCommandEvent& event); wxTextCtrl* GetTextCtrl() const { return m_textCtrl; } @@ -66,14 +65,20 @@ enum { TYPES_QUIT = wxID_EXIT, TYPES_TEXT = 101, - TYPES_ABOUT, + TYPES_ABOUT = wxID_ABOUT, - TYPES_DATE, + TYPES_DATE = 102, TYPES_TIME, TYPES_VARIANT, TYPES_BYTEORDER, TYPES_UNICODE, TYPES_STREAM, + TYPES_STREAM2, + TYPES_STREAM3, + TYPES_STREAM4, + TYPES_STREAM5, + TYPES_STREAM6, + TYPES_STREAM7, TYPES_MIME };