Speed-up for wxCanvasImage.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-11-28 21:01:20 +00:00
parent bd3e41f600
commit 880d870ea4
4 changed files with 79 additions and 42 deletions

View File

@@ -19,6 +19,7 @@
#endif
#include "wx/canvas/canvas.h"
#include "wx/timer.h"
//----------------------------------------------------------------------------
// constants
@@ -40,6 +41,7 @@ public:
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE );
~MyFrame();
private:
// WDR: method declarations for MyFrame
@@ -50,11 +52,13 @@ private:
wxCanvasImage *m_smile1;
wxCanvasImage *m_smile2;
wxCanvasAdmin *m_admin;
wxTimer *m_timer;
private:
// WDR: handler declarations for MyFrame
void OnQuit( wxCommandEvent &event );
void OnCloseWindow( wxCloseEvent &event );
void OnTimer( wxTimerEvent &event );
private:
DECLARE_EVENT_TABLE()