No real changes, just inline wxSuspendStyleEvents.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:56:12 +0000 (22:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:56:12 +0000 (22:56 +0000)
commit0d013e46a0ac91251f1c2a1495f85d1086f80ffe
treeec2742ea49b5f01eecc60df7c939a615f1ad02c6
parent0b1add25fdb6a625c7b2a07de7e3316d5a869b41
No real changes, just inline wxSuspendStyleEvents.

wxSuspendStyleEvents helper class was used in one place only and the code is
more clear if its ctor and dtor are inlined directly into DoApplyWidgetStyle()
itself instead of being located far away from it.

Also, we only need to suppress the events for top level windows so don't
bother doing anything at all when changing styles for m_widget and not m_wxwindow.

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