diff src/kaigo/horori/alloc/main.cpp @ 65:0369656be06c default tip

many changes.
author pyon@macmini
date Fri, 20 May 2022 06:30:34 +0900
parents 20b42e2deae1
children
line wrap: on
line diff
--- a/src/kaigo/horori/alloc/main.cpp	Fri Dec 25 20:48:01 2020 +0900
+++ b/src/kaigo/horori/alloc/main.cpp	Fri May 20 06:30:34 2022 +0900
@@ -1,5 +1,5 @@
 // Filename   : main.cpp
-// Last Change: 2020-03-17 火 16:05:54.
+// Last Change: 2021-05-07 金 17:21:40.
 //
 #include "main.h"
 #include "alloc.h"
@@ -20,7 +20,10 @@
 {
     if (!wxApp::OnInit()) return false;
 
-	AllocFrame *frame = new AllocFrame(NULL, wxID_ANY, wxT("ALLOC"), wxDefaultPosition, wxSize(420, 180), wxCAPTION|wxCLOSE_BOX);
+    wxImage::AddHandler(new wxJPEGHandler);
+    wxImage::AddHandler(new wxTIFFHandler);
+
+	AllocFrame *frame = new AllocFrame(NULL, wxID_ANY, wxT("ALLOC"), wxDefaultPosition, wxSize(420, 260), wxCAPTION|wxCLOSE_BOX);
 	frame->Show(true);
 	frame->Raise();