Slap a patch on things so Linux and Windows work till it can be looked at.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2224 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2009-11-19 12:45:11 +00:00
parent 4dc978f70a
commit b11dab02ef
2 changed files with 16 additions and 1 deletions

View File

@ -62,8 +62,16 @@ static void operator+=( wxSizer& target, pxCheckBox* src )
target.Add( src, wxSF.Expand() );
}
#ifdef __LINUX__
template<>
void operator+=( wxSizer& target, const pxWindowAndFlags<pxCheckBox>& src )
{
target.Add( src.window, src.flags );
}
#else
template<>
static void operator+=( wxSizer& target, const pxWindowAndFlags<pxCheckBox>& src )
{
target.Add( src.window, src.flags );
}
#endif

View File

@ -90,12 +90,19 @@ static void operator+=( wxSizer& target, pxStaticText* src )
src->AddTo( target );
}
#ifdef __LINUX__
template<>
void operator+=( wxSizer& target, const pxWindowAndFlags<pxStaticText>& src )
{
target.Add( src.window, src.flags );
}
#else
template<>
static void operator+=( wxSizer& target, const pxWindowAndFlags<pxStaticText>& src )
{
target.Add( src.window, src.flags );
}
#endif
// --------------------------------------------------------------------------------------
// pxStaticHeading
// --------------------------------------------------------------------------------------