always let the multiline text control process the Enter key presses
[wxWidgets.git] / samples / treelay / treelay.h
index d920ecc1beecf0b95179bc8904f746b7ec5dcfd7..2b1a29236897bb953b3b6e4dd2744b4b0aefa675 100644 (file)
@@ -12,8 +12,9 @@
 // Define a new application
 class MyApp: public wxApp
 {
 // Define a new application
 class MyApp: public wxApp
 {
-  public:
-    bool OnInit();
+public:
+    virtual bool OnInit();
+    virtual int OnExit();
     void TreeTest(wxTreeLayoutStored& tree, wxDC& dc);
 };
 
     void TreeTest(wxTreeLayoutStored& tree, wxDC& dc);
 };