mirror of https://github.com/PCSX2/pcsx2.git
pcsx2|utilities: Remove Windows wx2.8 code
It's not used anymore.
This commit is contained in:
parent
dc5885790a
commit
344d6c201e
|
@ -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;
|
||||
|
|
|
@ -54,12 +54,8 @@ 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
|
||||
OnShown();
|
||||
if( evt.IsShown() )
|
||||
OnShown();
|
||||
}
|
||||
|
||||
void Panels::BaseSelectorPanel::OnShown()
|
||||
|
|
Loading…
Reference in New Issue