diff main.cpp @ 1:a14406960539

Run on windows.
author pyon@macmini
date Tue, 30 Jul 2013 05:51:47 +0900
parents 47f1298cc11d
children 9675e40f5b76
line wrap: on
line diff
--- a/main.cpp	Sun Jul 28 23:01:57 2013 +0900
+++ b/main.cpp	Tue Jul 30 05:51:47 2013 +0900
@@ -1,5 +1,5 @@
 // Filename   : main.cpp
-// Last Change: 28-Jul-2013.
+// Last Change: 29-Jul-2013.
 //
 #include "wx/wxprec.h"
 #ifndef WX_PRECOMP
@@ -127,7 +127,8 @@
 
     wxCmdLineParser( g_cmdLineDesc, argc, argv );
 
-    image.Create( 19, 19, true );
+    image.Create( 19, 19, false );
+    image.SetRGB( wxRect( 0, 0, 19, 19 ), -1, -1, -1 );
     wxImage::AddHandler( new wxPNGHandler );
 
     return true;