]> git.saurik.com Git - wxWidgets.git/commit - src/gtk/gnome/gprint.cpp
Suppress warnings about gnome_print_dialog_get_range() return type.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 25 May 2012 09:48:20 +0000 (09:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 25 May 2012 09:48:20 +0000 (09:48 +0000)
commit005a8a4c77b187975ddddd05304ce9f40fcae729
treeecec6087056bf72c371d9887fc724557677a63a3
parent0cd7db14f03a5f4c37438551337fcf4f8d2d9dd8
Suppress warnings about gnome_print_dialog_get_range() return type.

This function seems to be declared incorrectly and while it actually does
return the values we compare its return value with, it's prototyped with a
wrong enum as return type, so explicitly cast it to int to avoid warnings
from recent g++ versions.

See http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/115782/focus=115955

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/gnome/gprint.cpp