mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
23857a0e16
commit
0d732a8c62
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -211,19 +211,20 @@ 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
|
||||
wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))
|
||||
{
|
||||
// see wxSETranslator() version for wxUSE_ON_FATAL_EXCEPTION above
|
||||
throw;
|
||||
// see wxSETranslator() version for wxUSE_ON_FATAL_EXCEPTION above
|
||||
throw;
|
||||
}
|
||||
|
||||
#endif // __VISUALC__
|
||||
|
||||
#else // !wxUSE_ON_FATAL_EXCEPTION
|
||||
|
||||
int wxEntry(int& argc, wxChar **argv)
|
||||
{
|
||||
DisableAutomaticSETranslator();
|
||||
|
|
Loading…
Reference in New Issue