// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifndef _WXPOEM_H_
+#define _WXPOEM_H_
+
+
// Define a new application
class MyApp: public wxApp
{
{
public:
MyCanvas(wxFrame *frame);
- ~MyCanvas();
+ virtual ~MyCanvas();
void OnPaint(wxPaintEvent& event);
void OnMouseEvent(wxMouseEvent& event);
{
public:
MyCanvas *canvas;
- MainWindow(wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style);
- ~MainWindow();
+ MainWindow(wxFrame *frame, wxWindowID id, const wxString& title,
+ const wxPoint& pos, const wxSize& size, long style);
+ virtual ~MainWindow();
void OnCloseWindow(wxCloseEvent& event);
void OnChar(wxKeyEvent& event);
POEM_SEARCH = wxID_FIND,
POEM_MINIMIZE = wxID_ICONIZE_FRAME
};
+
+#endif // _WXPOEM_H_