]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/poem/wxpoem.h
don't eat all events if m_maxLength is 0: this means no limit according to the docs...
[wxWidgets.git] / demos / poem / wxpoem.h
index 0b63613546bb5e7640e57dc470e82d69f86ba401..6f84d621fe4258f624b785d1034f1cad4309f766 100644 (file)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "wxpoem.h"
-#endif
-
 // Define a new application
 class MyApp: public wxApp
 {
@@ -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);
+    ~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()
 };