projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
always let the multiline text control process the Enter key presses
[wxWidgets.git]
/
samples
/
treelay
/
treelay.h
diff --git
a/samples/treelay/treelay.h
b/samples/treelay/treelay.h
index d920ecc1beecf0b95179bc8904f746b7ec5dcfd7..2b1a29236897bb953b3b6e4dd2744b4b0aefa675 100644
(file)
--- a/
samples/treelay/treelay.h
+++ b/
samples/treelay/treelay.h
@@
-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);
};