pcsx2|utilities: Remove Windows wx2.8 code

It's not used anymore.
This commit is contained in:
Jonathan Li 2015-10-28 00:02:11 +00:00
parent dc5885790a
commit 344d6c201e
2 changed files with 2 additions and 22 deletions

View File

@ -339,9 +339,6 @@ class pxMessageOutputMessageBox : public wxMessageOutput
public:
pxMessageOutputMessageBox() { }
#if wxMAJOR_VERSION < 3
virtual void Printf(const wxChar* format, ...);
#endif
// DoPrintf in wxMessageOutputBase (wxWidgets 3.0) uses this.
virtual void Output(const wxString &out);
};
@ -353,19 +350,6 @@ public:
// commandline window using an identifier we know is contained in it, and then format our own window
// display. :D --air
#if wxMAJOR_VERSION < 3
void pxMessageOutputMessageBox::Printf(const wxChar* format, ...)
{
va_list args;
va_start(args, format);
wxString out;
out.PrintfV(format, args);
va_end(args);
Output(out);
}
#endif
void pxMessageOutputMessageBox::Output(const wxString& out)
{
using namespace pxSizerFlags;

View File

@ -54,11 +54,7 @@ Panels::BaseSelectorPanel::~BaseSelectorPanel() throw()
void Panels::BaseSelectorPanel::OnShow(wxShowEvent& evt)
{
evt.Skip();
#if defined (_MSC_VER) && (wxMAJOR_VERSION < 3)
if( !evt.GetShow() ) return;
#else
if( !evt.IsShown() ) return;
#endif
if( evt.IsShown() )
OnShown();
}