mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Upgrade WX to r74856, mainly to support @2x.
This commit is contained in:
17
Externals/wxWidgets3/include/wx/xtiprop.h
vendored
17
Externals/wxWidgets3/include/wx/xtiprop.h
vendored
@ -4,7 +4,6 @@
|
||||
// Author: Stefan Csomor
|
||||
// Modified by: Francesco Montorsi
|
||||
// Created: 27/07/03
|
||||
// RCS-ID: $Id: xtiprop.h 70398 2012-01-19 09:50:46Z SC $
|
||||
// Copyright: (c) 1997 Julian Smart
|
||||
// (c) 2003 Stefan Csomor
|
||||
// Licence: wxWindows licence
|
||||
@ -177,7 +176,7 @@ public:
|
||||
if ( m_setter )
|
||||
m_setter->Set( object, value );
|
||||
else
|
||||
wxLogError( _("SetProperty called w/o valid setter") );
|
||||
wxLogError( wxGetTranslation("SetProperty called w/o valid setter") );
|
||||
}
|
||||
|
||||
// Getting a simple property (non-collection)
|
||||
@ -186,7 +185,7 @@ public:
|
||||
if ( m_getter )
|
||||
m_getter->Get( object, result );
|
||||
else
|
||||
wxLogError( _("GetProperty called w/o valid getter") );
|
||||
wxLogError( wxGetTranslation("GetProperty called w/o valid getter") );
|
||||
}
|
||||
|
||||
// Adding an element to a collection property
|
||||
@ -195,7 +194,7 @@ public:
|
||||
if ( m_adder )
|
||||
m_adder->Add( object, value );
|
||||
else
|
||||
wxLogError( _("AddToPropertyCollection called w/o valid adder") );
|
||||
wxLogError( wxGetTranslation("AddToPropertyCollection called w/o valid adder") );
|
||||
}
|
||||
|
||||
// Getting a collection property
|
||||
@ -204,7 +203,7 @@ public:
|
||||
if ( m_collectionGetter )
|
||||
m_collectionGetter->Get( obj, result);
|
||||
else
|
||||
wxLogError( _("GetPropertyCollection called w/o valid collection getter") );
|
||||
wxLogError( wxGetTranslation("GetPropertyCollection called w/o valid collection getter") );
|
||||
}
|
||||
|
||||
virtual bool HasSetter() const { return m_setter != NULL; }
|
||||
@ -257,14 +256,14 @@ public:
|
||||
virtual void AddToPropertyCollection(wxObject *WXUNUSED(object),
|
||||
const wxAny &WXUNUSED(value)) const
|
||||
{
|
||||
wxLogError( _("AddToPropertyCollection called on a generic accessor") );
|
||||
wxLogError( wxGetTranslation("AddToPropertyCollection called on a generic accessor") );
|
||||
}
|
||||
|
||||
// Getting a collection property
|
||||
virtual void GetPropertyCollection( const wxObject *WXUNUSED(obj),
|
||||
wxAnyList &WXUNUSED(result)) const
|
||||
{
|
||||
wxLogError ( _("GetPropertyCollection called on a generic accessor") );
|
||||
wxLogError ( wxGetTranslation("GetPropertyCollection called on a generic accessor") );
|
||||
}
|
||||
|
||||
private:
|
||||
@ -536,13 +535,13 @@ class WXDLLIMPEXP_FWD_BASE wxStringToAnyHashMap : public wxStringToAnyHashMapBas
|
||||
&_accessor##pname, flags, help, group );
|
||||
|
||||
#define wxEVENT_PROPERTY( name, eventType, eventClass ) \
|
||||
static wxEventSourceTypeInfo _typeInfo##name( eventType, CLASSINFO( eventClass ) ); \
|
||||
static wxEventSourceTypeInfo _typeInfo##name( eventType, wxCLASSINFO( eventClass ) ); \
|
||||
static wxPropertyInfo _propertyInfo##name( first,class_t::GetClassInfoStatic(), \
|
||||
wxT(#name), &_typeInfo##name, NULL, wxAny() );
|
||||
|
||||
#define wxEVENT_RANGE_PROPERTY( name, eventType, lastEventType, eventClass ) \
|
||||
static wxEventSourceTypeInfo _typeInfo##name( eventType, lastEventType, \
|
||||
CLASSINFO( eventClass ) ); \
|
||||
wxCLASSINFO( eventClass ) ); \
|
||||
static wxPropertyInfo _propertyInfo##name( first, class_t::GetClassInfoStatic(), \
|
||||
wxT(#name), &_typeInfo##name, NULL, wxAny() );
|
||||
|
||||
|
Reference in New Issue
Block a user