3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: anitest.cpp
|
|
// Purpose: anitest sample
|
|
// Author: Julian Smart
|
|
// Modified by:
|
|
// Created: 02/07/2001
|
|
// Copyright: (c) Julian Smart
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include "wx/animate.h"
|
|
|
|
// Define a new application
|
|
class MyApp : public wxApp
|
|
{
|
|
public:
|
|
bool OnInit();
|
|
};
|
|
|
|
// Define a new frame
|
|
class MyFrame : public wxFrame
|
|
{
|
|
public:
|
|
|
|
MyFrame(wxWindow *parent, const wxWindowID id, const wxString& title,
|
|
const wxPoint& pos, const wxSize& size, const long style);
|
|
~MyFrame();
|
|
|
|
void OnAbout(wxCommandEvent& event);
|
|
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);
|
|
|
|
#if wxUSE_FILEDLG
|
|
void OnOpen(wxCommandEvent& event);
|
|
#endif // wxUSE_FILEDLG
|
|
|
|
wxAnimationCtrl* GetAnimationCtrl() const { return m_animationCtrl; }
|
|
|
|
protected:
|
|
wxAnimationCtrl* m_animationCtrl;
|
|
|
|
private:
|
|
DECLARE_EVENT_TABLE()
|
|
};
|