Don't call gtk_window_set_geometry_hints() if there are no hints to set.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 21 Jun 2012 13:19:30 +0000 (13:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 21 Jun 2012 13:19:30 +0000 (13:19 +0000)
commit5da0507745a4edeee7cfa899721bd34699cf19d3
tree094240287f57ac90705c62208d08b6d15d5fef91
parent692a0709d32058c72b46ef0512bd4aee8f485b8a
Don't call gtk_window_set_geometry_hints() if there are no hints to set.

Calling gtk_window_set_geometry_hints() with the hints mask of 0 doesn't work
correctly and sets the window size to the smallest possible. Avoid this by
simply not calling this function at all if there is nothing to do.

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