]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/artprov/arttest.cpp
Check axis number in the received joystick messages.
[wxWidgets.git] / samples / artprov / arttest.cpp
index ff541274c630718a196e5b99f033a9cf51690a52..29fda747de70d8ee062acd673807f4d5d3a6b876 100644 (file)
@@ -20,7 +20,7 @@
 #include "wx/wx.h"
 #endif
 
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -63,8 +63,8 @@ private:
 // IDs for the controls and the menu commands
 enum
 {
-    ID_Quit = wxID_HIGHEST,
-    ID_Logs,
+    ID_Quit = wxID_EXIT,
+    ID_Logs = wxID_HIGHEST+1,
     ID_Browser,
     ID_PlugProvider
 };