git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65945
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
GdkEventWindowState *event,
wxTopLevelWindow *win )
{
GdkEventWindowState *event,
wxTopLevelWindow *win )
{
-
- if (event->changed_mask && GDK_WINDOW_STATE_ICONIFIED)
- {
- if (event->new_window_state && GDK_WINDOW_STATE_ICONIFIED)
- win->SetIconizeState(true);
- else
- win->SetIconizeState(false);
- }
-
- return FALSE;
+ if (event->changed_mask & GDK_WINDOW_STATE_ICONIFIED)
+ win->SetIconizeState((event->new_window_state & GDK_WINDOW_STATE_ICONIFIED) != 0);
+
+ return false;