]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/joytest/joytest.h
don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correct...
[wxWidgets.git] / samples / joytest / joytest.h
index 68c4f6807526bae9feb5fded7dd6d9d64e4a6176..9a08f6f5e3ca9f9d60e019d288739058b743ed0c 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     04/01/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart and Markus Holzem
-// Licence:    wxWindows license
+// Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
 // Define a new application
@@ -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);