Add some missing runtime gtk+ version checks. There is more to spot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1154,7 +1154,7 @@ void wxWindowDC::DoDrawBitmap( const wxBitmap &bitmap,
|
||||
else
|
||||
{
|
||||
#if GTK_CHECK_VERSION(2,2,0)
|
||||
if (use_bitmap.HasPixbuf())
|
||||
if (!gtk_check_version(2,2,0) && use_bitmap.HasPixbuf())
|
||||
{
|
||||
gdk_draw_pixbuf(m_window, m_penGC,
|
||||
use_bitmap.GetPixbuf(),
|
||||
|
Reference in New Issue
Block a user