Add base class constructors to some copy constructors
This commit is contained in:
parent
daac749927
commit
0c10bab412
|
@ -163,20 +163,23 @@ bool SCH_FIELD_VALIDATOR::Validate( wxWindow *aParent )
|
|||
}
|
||||
|
||||
|
||||
SCH_NETNAME_VALIDATOR::SCH_NETNAME_VALIDATOR( wxString *aVal ) :
|
||||
wxValidator(), m_allowSpaces( false )
|
||||
SCH_NETNAME_VALIDATOR::SCH_NETNAME_VALIDATOR( wxString *aVal )
|
||||
: wxValidator(),
|
||||
m_allowSpaces( false )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
SCH_NETNAME_VALIDATOR::SCH_NETNAME_VALIDATOR( const SCH_NETNAME_VALIDATOR& aValidator ) :
|
||||
SCH_NETNAME_VALIDATOR::SCH_NETNAME_VALIDATOR( const SCH_NETNAME_VALIDATOR& aValidator )
|
||||
: wxValidator(),
|
||||
m_allowSpaces( aValidator.m_allowSpaces )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
SCH_NETNAME_VALIDATOR::SCH_NETNAME_VALIDATOR( bool aAllowSpaces ) :
|
||||
wxValidator(), m_allowSpaces( aAllowSpaces )
|
||||
SCH_NETNAME_VALIDATOR::SCH_NETNAME_VALIDATOR( bool aAllowSpaces )
|
||||
: wxValidator(),
|
||||
m_allowSpaces( aAllowSpaces )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -35,12 +35,12 @@
|
|||
class SELECTION : public KIGFX::VIEW_GROUP
|
||||
{
|
||||
public:
|
||||
SELECTION()
|
||||
SELECTION() : KIGFX::VIEW_GROUP::VIEW_GROUP()
|
||||
{
|
||||
m_isHover = false;
|
||||
}
|
||||
|
||||
SELECTION( const SELECTION& aOther )
|
||||
SELECTION( const SELECTION& aOther ) : KIGFX::VIEW_GROUP::VIEW_GROUP()
|
||||
{
|
||||
m_items = aOther.m_items;
|
||||
m_isHover = aOther.m_isHover;
|
||||
|
|
|
@ -137,9 +137,8 @@ public:
|
|||
compileRegEx( aRegEx, aFlags );
|
||||
}
|
||||
|
||||
REGEX_VALIDATOR( const REGEX_VALIDATOR& aOther )
|
||||
REGEX_VALIDATOR( const REGEX_VALIDATOR& aOther ) : wxTextValidator( aOther )
|
||||
{
|
||||
wxValidator::Copy( aOther );
|
||||
compileRegEx( aOther.m_regExString, aOther.m_regExFlags );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue