/[pcsx2_0.9.7]/trunk/3rdparty/wxWidgets/src/common/image.cpp
ViewVC logotype

Diff of /trunk/3rdparty/wxWidgets/src/common/image.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/3rdparty/wxWidgets/src/common/image.cpp	2010/09/07 03:24:11	31
+++ trunk/3rdparty/wxWidgets/src/common/image.cpp	2010/09/07 11:08:22	62
@@ -167,18 +167,21 @@
     Create(xpmData);
 }
 
+#if wxUSE_XPM
 bool wxImage::Create(const char* const* xpmData)
 {
-#if wxUSE_XPM
     UnRef();
 
     wxXPMDecoder decoder;
     (*this) = decoder.ReadData(xpmData);
     return Ok();
+}
 #else
+bool wxImage::Create( const char* const* WXUNUSED(xpmData) )
+{
     return false;
-#endif
 }
+#endif
 
 bool wxImage::Create( int width, int height, bool clear )
 {

 

  ViewVC Help
Powered by ViewVC 1.1.22