mirror of https://github.com/PCSX2/pcsx2.git
common: init values in the constructors of SpatialArrayReserve and pxStaticText
This commit is contained in:
parent
2c914b9b8f
commit
8083b2c754
|
@ -342,7 +342,7 @@ void BaseVmReserveListener::OnPageFaultEvent(const PageFaultInfo& info, bool& ha
|
|||
// --------------------------------------------------------------------------------------
|
||||
|
||||
SpatialArrayReserve::SpatialArrayReserve( const wxString& name ) :
|
||||
_parent( name )
|
||||
_parent( name ), m_numblocks(0)
|
||||
{
|
||||
m_prot_mode = PageAccess_ReadWrite();
|
||||
}
|
||||
|
|
|
@ -23,7 +23,12 @@
|
|||
pxStaticText::pxStaticText( wxWindow* parent )
|
||||
: _parent( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNO_BORDER )
|
||||
{
|
||||
m_align = wxALIGN_CENTRE_HORIZONTAL;
|
||||
m_autowrap = true;
|
||||
m_wrappedWidth = -1;
|
||||
m_heightInLines = 1;
|
||||
|
||||
SetPaddingDefaults();
|
||||
}
|
||||
|
||||
pxStaticText::pxStaticText( wxWindow* parent, const wxString& label, wxAlignment align )
|
||||
|
|
Loading…
Reference in New Issue