Avoid -Wempty-body warning with non-debug build
This commit is contained in:
@@ -142,7 +142,9 @@ public:
|
|||||||
{
|
{
|
||||||
Init();
|
Init();
|
||||||
if (!wxIsSameDouble(m_pointSize, pointSize))
|
if (!wxIsSameDouble(m_pointSize, pointSize))
|
||||||
|
{
|
||||||
wxFAIL_MSG("Invalid font point size");
|
wxFAIL_MSG("Invalid font point size");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
explicit wxFontInfo(const wxSize& pixelSize)
|
explicit wxFontInfo(const wxSize& pixelSize)
|
||||||
: m_pointSize(-1.0)
|
: m_pointSize(-1.0)
|
||||||
|
Reference in New Issue
Block a user