// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "wxpoem.h"
-#endif
+#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(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);
wxFont *m_boldFont;
wxFont *m_italicFont;
+ // Icons
+ wxIcon *m_corners[4];
+
DECLARE_EVENT_TABLE()
};
POEM_SEARCH = wxID_FIND,
POEM_MINIMIZE = wxID_ICONIZE_FRAME
};
+
+#endif // _WXPOEM_H_