OSDN Git Service

Added tag r0.1.2 for changeset 3f74831952e2
[mingw/wtklite.git] / wndproc.cpp
index ff0c52a..0b5aeb3 100644 (file)
@@ -40,7 +40,7 @@
  */
 #define WIN32_LEAN_AND_MEAN
 
-#include "wtkplus.h"
+#include "wtklite.h"
 
 namespace WTK
 {
@@ -119,6 +119,7 @@ namespace WTK
       OnEventCase( WM_VSCROLL,        OnVerticalScroll( SplitWord(w_param), (HWND)(l_param)) );
       OnEventCase( WM_PAINT,          OnPaint() );
       OnEventCase( WM_DESTROY,        OnDestroy() );
+      OnEventCase( WM_CLOSE,          OnClose() );
     }
     /* In the event that no handler is provided for any particular message,
      * fall back to MS-Windows own default handler.