]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/myframe.cpp
No changes, just don't initialize the variable twice.
[wxWidgets.git] / samples / xrc / myframe.cpp
index 2a3dfe2ccaf71968d832d8249f1afeb29854b698..509ea31833d05629dc9e3f2bf21af5cf45685f95 100644 (file)
@@ -51,7 +51,8 @@
 #include "custclas.h"
 // And our objref dialog, for the object reference and ID range example.
 #include "objrefdlg.h"
-// For functions to manipulate our wxTreeCtrl and wxListCtrl
+// For functions to manipulate the corresponding controls.
+#include "wx/animate.h"
 #include "wx/treectrl.h"
 #include "wx/listctrl.h"
 
@@ -61,7 +62,7 @@
 
 // the application icon (under Windows and OS/2 it is in resources and even
 // though we could still include the XPM here it would be unused)
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif