Fix harmless deprecation warning for g_type_init() in drawing test
Same as 3dde6ec2fe
.
This commit is contained in:
@@ -36,7 +36,9 @@ GraphicsContextDrawingTestCase::ms_drawingFontTc = {
|
|||||||
void GraphicsContextDrawingTestCase::DoFontDrawings (wxGraphicsContext *gc)
|
void GraphicsContextDrawingTestCase::DoFontDrawings (wxGraphicsContext *gc)
|
||||||
{
|
{
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
|
wxGCC_WARNING_SUPPRESS(deprecated-declarations)
|
||||||
g_type_init();
|
g_type_init();
|
||||||
|
wxGCC_WARNING_RESTORE()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// This test is expected to treat about fonts/texts. Fonts are a bit special
|
// This test is expected to treat about fonts/texts. Fonts are a bit special
|
||||||
|
Reference in New Issue
Block a user