Fix -Wreorder warning
This commit is contained in:
@@ -123,7 +123,6 @@ public:
|
|||||||
m_dc(dc),
|
m_dc(dc),
|
||||||
m_rect(rect),
|
m_rect(rect),
|
||||||
m_flags(flags)
|
m_flags(flags)
|
||||||
, m_pos(m_rect.x)
|
|
||||||
|
|
||||||
// We don't initialize the base class initial text background colour to
|
// We don't initialize the base class initial text background colour to
|
||||||
// the valid value because we want to be able to detect when we revert
|
// the valid value because we want to be able to detect when we revert
|
||||||
@@ -134,6 +133,7 @@ public:
|
|||||||
// but it might affect the caller if it sets the background mode to
|
// but it might affect the caller if it sets the background mode to
|
||||||
// opaque and draws some text after using us.
|
// opaque and draws some text after using us.
|
||||||
, m_origTextBackground(dc.GetTextBackground())
|
, m_origTextBackground(dc.GetTextBackground())
|
||||||
|
, m_pos(m_rect.x)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user