X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f4d35b8045442f97ed74ba2aa633e843adae7ef..c54e5eb0f6888c627547f882388df3cd86354a2f:/contrib/samples/animate/anitest.h diff --git a/contrib/samples/animate/anitest.h b/contrib/samples/animate/anitest.h index 9cd6589c92..940a9dea9f 100644 --- a/contrib/samples/animate/anitest.h +++ b/contrib/samples/animate/anitest.h @@ -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 -};