]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/animate/anitest.h
wxRTC table layout now uses cell content to calculate column widths if no other width...
[wxWidgets.git] / samples / animate / anitest.h
index 2a265afa4d8649f94535d45287eb505779011170..06bc1139b430180bc98e6da465f0a89d80b08b37 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Julian Smart
 // Modified by:
 // Created:     02/07/2001
-// RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -18,16 +17,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 +30,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 +42,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: