X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..2b96d0fb4be7d684c17987d74f8f92d0cfe345b5:/samples/joytest/joytest.h?ds=sidebyside

diff --git a/samples/joytest/joytest.h b/samples/joytest/joytest.h
index 68c4f68075..18a8a75e3c 100644
--- a/samples/joytest/joytest.h
+++ b/samples/joytest/joytest.h
@@ -19,7 +19,9 @@ class MyApp: public wxApp
     int     m_maxX;
     int     m_maxY;
 
+#if wxUSE_WAVE
     wxWave  m_fire;
+#endif // wxUSE_WAVE
 };
 
 DECLARE_APP(MyApp)
@@ -40,7 +42,6 @@ class MyFrame: public wxFrame
     MyCanvas *canvas;
     MyFrame(wxFrame *parent, const wxString& title, const wxPoint& pos, const wxSize& size, const long style);
     ~MyFrame(void);
-    bool OnClose(void);
     void OnActivate(wxActivateEvent& event);
     void OnQuit(wxCommandEvent& event);