X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/788233da909b0f6bc684a99200c614e3dee2aa20..4e15d1caa03346c126015019c1fdf093033ef40b:/samples/typetest/typetest.h diff --git a/samples/typetest/typetest.h b/samples/typetest/typetest.h index 0b1ca03b17..504ad26697 100644 --- a/samples/typetest/typetest.h +++ b/samples/typetest/typetest.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: typetest.h -// Purpose: Types wxWindows sample +// Purpose: Types wxWidgets sample // Author: Julian Smart // Modified by: // Created: 04/01/98 @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "typetest.h" -#endif - #ifndef _WX_TYPETEST_H_ #define _WX_TYPETEST_H_ @@ -25,10 +21,6 @@ public: bool OnInit(); int OnExit() { delete m_mimeDatabase; return wxApp::OnExit(); } -#if wxUSE_TIMEDATE - void DoDateDemo(wxCommandEvent& event); -#endif // wxUSE_TIMEDATE - void DoTimeDemo(wxCommandEvent& event); void DoVariantDemo(wxCommandEvent& event); void DoByteOrderDemo(wxCommandEvent& event); void DoStreamDemo(wxCommandEvent& event); @@ -74,9 +66,9 @@ 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,