Suppress "parameter unused" error in some builds

This commit is contained in:
Artur Wieczorek
2021-07-21 07:21:29 +02:00
parent 7ce588afab
commit c175b31630

View File

@@ -284,6 +284,8 @@ static void FlushDC(wxDC& dc)
dc.SetGraphicsContext(NULL);
#endif // __WXMSW__ && wxUSE_GRAPHICS_DIRECT2D
}
#else
wxUnusedVar(dc);
#endif // wxUSE_GRAPHICS_CONTEXT
}