Frame resizes children
[ttodo.git] / todo.cc
blob6238d86cf3b1423cdc6392c7c235150b3109027e
1 #include "todo.h"
2 #include "tdframe.h"
4 //----------------------------------------------------------------------
6 /// Default constructor.
7 CTodoApp::CTodoApp (void)
8 : CApplication ()
12 /// Singleton interface.
13 /*static*/ CTodoApp& CTodoApp::Instance (void)
15 static CTodoApp s_App;
16 return (s_App);
19 /// Initializes the output device.
20 void CTodoApp::OnCreate (argc_t argc, argv_t argv)
22 AddChildWindow (new CTodoFrame);
23 CApplication::OnCreate (argc, argv);
26 //----------------------------------------------------------------------
28 WinMain (CTodoApp)
30 //----------------------------------------------------------------------