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()
};