diff src/preview.cpp @ 10:24e0775af32e

Add Name-View.
author pyon@macmini
date Wed, 22 Jun 2011 20:43:50 +0900
parents db7bd315e52c
children
line wrap: on
line diff
--- a/src/preview.cpp	Wed Jun 22 18:18:51 2011 +0900
+++ b/src/preview.cpp	Wed Jun 22 20:43:50 2011 +0900
@@ -1,5 +1,5 @@
 // Filename   : preview.cpp
-// Last Change: 21-Jun-2011.
+// Last Change: 22-Jun-2011.
 //
 
 #include "preview.h"
@@ -118,12 +118,7 @@
         wxImage img( mfile, wxBITMAP_TYPE_JPEG );
         wxBitmap bmp( img.Scale( 640, 877, wxIMAGE_QUALITY_HIGH ) );
 
-        wxImage img2;
-        //img2 = img.Size( wxSize(626,288), wxPoint(328,556), -1, -1, -1 );
-        img2 = img.Size( wxSize(954,844), wxPoint(328,556), -1, -1, -1 );
-
-        wxBitmap bmp2( img2.Scale( 626, 288, wxIMAGE_QUALITY_HIGH ) );
-        m_bitmap->SetBitmap( bmp2 );
+        m_bitmap->SetBitmap( bmp );
     }
     // thumbnail
     int i=0;