No real changes, just rearrange wxCursor::InitFromImage() in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Jul 2010 18:39:16 +0000 (18:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Jul 2010 18:39:16 +0000 (18:39 +0000)
commit833fb475ceac59451d18a9d30e29d40486875193
treebf65d0ba52a9398b25ead36f23dc5b25e9e463e1
parent5a9dd921283707713a30eddf18ebbdcc9e9f1851
No real changes, just rearrange wxCursor::InitFromImage() in wxGTK.

Make it more clear that the function deals with two cases by using if/else
instead of if+return.

Also use smart wxGtkObject pointer instead of calling g_object_unref()
manually.

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