X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bf8e4ebcc9d52bcee96e69e7013279a4f2efa37..ee682a94cb9ea835c9b74a12f17b0fb63f43dcce:/samples/typetest/typetest.h diff --git a/samples/typetest/typetest.h b/samples/typetest/typetest.h index 481b26ff34..0b1ca03b17 100644 --- a/samples/typetest/typetest.h +++ b/samples/typetest/typetest.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "typetest.h" #endif @@ -25,7 +25,9 @@ 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); @@ -33,9 +35,12 @@ public: 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; } @@ -80,6 +85,9 @@ enum TYPES_STREAM2, TYPES_STREAM3, TYPES_STREAM4, + TYPES_STREAM5, + TYPES_STREAM6, + TYPES_STREAM7, TYPES_MIME };