]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/poem/wxpoem.h
Add new animate sample to the distribution (probably more steps from technote #1...
[wxWidgets.git] / demos / poem / wxpoem.h
index 0b63613546bb5e7640e57dc470e82d69f86ba401..605ed69fa5dcef4e480f0a008e2feaa7d7331285 100644 (file)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "wxpoem.h"
-#endif
-
 // Define a new application
 class MyApp: public wxApp
 {
@@ -33,7 +29,7 @@ class MyCanvas: public wxWindow
 {
 public:
     MyCanvas(wxFrame *frame);
-    ~MyCanvas();
+    virtual ~MyCanvas();
 
     void OnPaint(wxPaintEvent& event);
     void OnMouseEvent(wxMouseEvent& event);
@@ -51,6 +47,7 @@ class MainWindow: public wxFrame
 public:
     MyCanvas *canvas;
     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);
@@ -90,6 +87,9 @@ private:
     wxFont *m_boldFont;
     wxFont *m_italicFont;
 
+    // Icons
+    wxIcon *m_corners[4];
+
     DECLARE_EVENT_TABLE()
 };