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