Reduce number of references to m_List; reload it directly when possible.
[ttodo.git] / todo.cc
blobe01c6af8466da0b62eb708a89830fe091e4338bf
1 #include "todo.h"
2 #include "frame.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 //----------------------------------------------------------------------