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