Showing posts with label test. Show all posts
Showing posts with label test. Show all posts

Tuesday, November 6, 2007

A test for display the cpp code section


class MyCanvas : public wxPanel
{
public:
MyCanvas(wxWindow *parent, wxImage img);
virtual ~MyCanvas();

wxBitmap* GetBmp();
void OnPaint(wxPaintEvent& event);
// void OnCanvasMouseMove(wxMouseEvent& event);

protected:
wxBitmap* m_bmp;
private:

DECLARE_EVENT_TABLE()
};

Read More...