]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/animate/anitest.h
fix the sample icon (patch 1570974)
[wxWidgets.git] / contrib / samples / animate / anitest.h
index 9cd6589c9253bb49e4662934db2fc5a78a4a777e..940a9dea9fecd51f202245ddae01392cb866bd4d 100644 (file)
@@ -41,12 +41,14 @@ public:
     void OnAbout(wxCommandEvent& event);
     void OnQuit(wxCommandEvent& event);
 
+#if wxUSE_FILEDLG
     void OnOpen(wxCommandEvent& event);
+#endif // wxUSE_FILEDLG
 
     MyCanvas* GetCanvas() const { return m_canvas; }
     wxGIFAnimationCtrl* GetAnimationCtrl() const { return m_animationCtrl; }
 
-#if 0    
+#if 0
     wxAnimationPlayer& GetPlayer() { return m_player; }
     wxAnimationBase& GetAnimation() { return m_animation; }
 #endif
@@ -61,11 +63,3 @@ protected:
     wxGIFAnimation      m_animation;
 #endif
 };
-
-// menu items ids
-enum
-{
-    ANITEST_QUIT = 100,
-    ANITEST_OPEN,
-    ANITEST_ABOUT
-};