Mercurial > mercurial > hgweb_rubikcolor.cgi
comparison main.cpp @ 1:a14406960539
Run on windows.
| author | pyon@macmini |
|---|---|
| date | Tue, 30 Jul 2013 05:51:47 +0900 |
| parents | 47f1298cc11d |
| children | 9675e40f5b76 |
comparison
equal
deleted
inserted
replaced
| 0:47f1298cc11d | 1:a14406960539 |
|---|---|
| 1 // Filename : main.cpp | 1 // Filename : main.cpp |
| 2 // Last Change: 28-Jul-2013. | 2 // Last Change: 29-Jul-2013. |
| 3 // | 3 // |
| 4 #include "wx/wxprec.h" | 4 #include "wx/wxprec.h" |
| 5 #ifndef WX_PRECOMP | 5 #ifndef WX_PRECOMP |
| 6 #include "wx/wx.h" | 6 #include "wx/wx.h" |
| 7 #endif | 7 #endif |
| 125 { | 125 { |
| 126 if ( !wxApp::OnInit() ) return false; | 126 if ( !wxApp::OnInit() ) return false; |
| 127 | 127 |
| 128 wxCmdLineParser( g_cmdLineDesc, argc, argv ); | 128 wxCmdLineParser( g_cmdLineDesc, argc, argv ); |
| 129 | 129 |
| 130 image.Create( 19, 19, true ); | 130 image.Create( 19, 19, false ); |
| 131 image.SetRGB( wxRect( 0, 0, 19, 19 ), -1, -1, -1 ); | |
| 131 wxImage::AddHandler( new wxPNGHandler ); | 132 wxImage::AddHandler( new wxPNGHandler ); |
| 132 | 133 |
| 133 return true; | 134 return true; |
| 134 } | 135 } |
| 135 | 136 |
