X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72045d5768a126191a907bc640c28e81a11afdd6..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/samples/animate/anitest.h?ds=inline diff --git a/samples/animate/anitest.h b/samples/animate/anitest.h index 2a265afa4d..37c32e4f6e 100644 --- a/samples/animate/anitest.h +++ b/samples/animate/anitest.h @@ -18,16 +18,6 @@ public: bool OnInit(); }; -class MyCanvas : public wxScrolledWindow -{ -public: - MyCanvas(wxWindow *parent, const wxPoint& pos, const wxSize& size); - void OnPaint(wxPaintEvent& event); - -private: - DECLARE_EVENT_TABLE() -}; - // Define a new frame class MyFrame : public wxFrame { @@ -41,6 +31,10 @@ public: void OnQuit(wxCommandEvent& event); void OnPlay(wxCommandEvent& event); + void OnSetNullAnimation(wxCommandEvent& event); + void OnSetInactiveBitmap(wxCommandEvent& event); + void OnSetNoAutoResize(wxCommandEvent& event); + void OnSetBgColor(wxCommandEvent& event); void OnStop(wxCommandEvent& event); void OnUpdateUI(wxUpdateUIEvent& event); @@ -49,11 +43,9 @@ public: void OnOpen(wxCommandEvent& event); #endif // wxUSE_FILEDLG - MyCanvas* GetCanvas() const { return m_canvas; } wxAnimationCtrl* GetAnimationCtrl() const { return m_animationCtrl; } protected: - MyCanvas* m_canvas; wxAnimationCtrl* m_animationCtrl; private: