Mercurial > mercurial > hgweb_rubikcolor.cgi
changeset 1:a14406960539
Run on windows.
author | pyon@macmini |
---|---|
date | Tue, 30 Jul 2013 05:51:47 +0900 |
parents | 47f1298cc11d |
children | 9675e40f5b76 |
files | Makefile main.cpp |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sun Jul 28 23:01:57 2013 +0900 +++ b/Makefile Tue Jul 30 05:51:47 2013 +0900 @@ -1,5 +1,5 @@ # Makefile for wxWidgets Application -# Last Change: 28-Jul-2013. +# Last Change: 29-Jul-2013. # by Takayuki Mutoh # @@ -11,7 +11,7 @@ # For Microsoft Windows ifdef COMSPEC WXCXXFLAGS = -I/local/lib/wx/include/msw-unicode-static-2.9 -I/local/include/wx-2.9 -D_LARGEFILE_SOURCE=unknown -D__WXMSW__ -mthreads -WXLIBS = -L/local/lib -Wl,--subsystem,windows -mwindows /local/lib/libwx_mswu_richtext-2.9.a /local/lib/libwx_mswu_xrc-2.9.a /local/lib/libwx_mswu_webview-2.9.a /local/lib/libwx_mswu_qa-2.9.a /local/lib/libwx_baseu_net-2.9.a /local/lib/libwx_mswu_html-2.9.a /local/lib/libwx_mswu_adv-2.9.a /local/lib/libwx_mswu_core-2.9.a /local/lib/libwx_baseu_xml-2.9.a /local/lib/libwx_baseu-2.9.a -lwxregexu-2.9 -lwxexpat-2.9 -lwxtiff-2.9 -lwxjpeg-2.9 -lwxpng-2.9 -lwxzlib-2.9 -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32 +WXLIBS = -L/local/lib -Wl,--subsystem,windows -mwindows /local/lib/libwx_mswu_core-2.9.a /local/lib/libwx_baseu-2.9.a -lwxpng-2.9 -lwxzlib-2.9 -loleaut32 -lole32 -luuid -lwinspool -lcomctl32 EXECUTABLE = $(PROGNAME).exe # For Apple OSX @@ -42,7 +42,6 @@ $(EXECUTABLE): $(PROGNAME) ifdef COMSPEC strip --strip-all $(EXECUTABLE) - ./$(PROGNAME).exe endif clean:
--- 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;