fix warnings about unreachable return statements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2410,9 +2410,10 @@ wxGraphicsContext * wxCairoRenderer::CreateMeasuringContext()
|
|||||||
ENSURE_LOADED_OR_RETURN(NULL);
|
ENSURE_LOADED_OR_RETURN(NULL);
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
return CreateContextFromNativeWindow(gdk_get_default_root_window());
|
return CreateContextFromNativeWindow(gdk_get_default_root_window());
|
||||||
#endif
|
#else
|
||||||
return NULL;
|
return NULL;
|
||||||
// TODO
|
// TODO
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxGraphicsContext * wxCairoRenderer::CreateContext( wxWindow* window )
|
wxGraphicsContext * wxCairoRenderer::CreateContext( wxWindow* window )
|
||||||
|
@@ -4151,9 +4151,9 @@ bool wxWindowGTK::IsTransparentBackgroundSupported(wxString* reason) const
|
|||||||
*reason = _("This program was compiled with a too old version of GTK+, "
|
*reason = _("This program was compiled with a too old version of GTK+, "
|
||||||
"please rebuild with GTK+ 2.12 or newer.");
|
"please rebuild with GTK+ 2.12 or newer.");
|
||||||
}
|
}
|
||||||
#endif // wxGTK_HAS_COMPOSITING_SUPPORT/!wxGTK_HAS_COMPOSITING_SUPPORT
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
#endif // wxGTK_HAS_COMPOSITING_SUPPORT/!wxGTK_HAS_COMPOSITING_SUPPORT
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user