wxWidgets/msw: Kill off some warnings introduced when I excluded some unused packages from the wx lib.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3137 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2010-06-01 03:34:51 +00:00
parent 23857a0e16
commit 0d732a8c62
2 changed files with 12 additions and 8 deletions

View File

@ -167,18 +167,21 @@ wxImage::wxImage(const char* const* xpmData)
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
return false;
#endif
}
#else
bool wxImage::Create( const char* const* WXUNUSED(xpmData) )
{
return false;
}
#endif
bool wxImage::Create( int width, int height, bool clear )
{

View File

@ -211,8 +211,7 @@ int wxEntry(int& argc, wxChar **argv)
wxSEH_HANDLE(-1)
}
#else // !wxUSE_ON_FATAL_EXCEPTION
// PCSX2: Moved this to inside the wxUSE_ON_FATAL_EXCEPTION condition --air
#if defined(__VISUALC__) && !defined(__WXWINCE__)
static void
@ -224,6 +223,8 @@ wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))
#endif // __VISUALC__
#else // !wxUSE_ON_FATAL_EXCEPTION
int wxEntry(int& argc, wxChar **argv)
{
DisableAutomaticSETranslator();