From 5825712a9ea8cb47221d39b20246855e422dfe45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Thu, 6 May 1999 15:13:02 +0000 Subject: [PATCH] Removed superfluous GDK_DECOR_BORDER. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dialog.cpp | 3 --- src/gtk1/dialog.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 58b7ff2a51..894f22bf1e 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -147,19 +147,16 @@ gtk_dialog_map_callback( GtkWidget *widget, wxDialog *win ) { func |= GDK_FUNC_MINIMIZE; decor |= GDK_DECOR_MINIMIZE; - decor |= GDK_DECOR_BORDER; } if ((win->m_windowStyle & wxMAXIMIZE_BOX) != 0) { decor |= GDK_DECOR_MAXIMIZE; func |= GDK_FUNC_MAXIMIZE; - decor |= GDK_DECOR_BORDER; } if ((win->m_windowStyle & wxRESIZE_BORDER) != 0) { func |= GDK_FUNC_RESIZE; decor |= GDK_DECOR_RESIZEH; - decor |= GDK_DECOR_BORDER; } gdk_window_set_decorations( win->m_widget->window, (GdkWMDecoration)decor); gdk_window_set_functions( win->m_widget->window, (GdkWMFunction)func); diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index 58b7ff2a51..894f22bf1e 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -147,19 +147,16 @@ gtk_dialog_map_callback( GtkWidget *widget, wxDialog *win ) { func |= GDK_FUNC_MINIMIZE; decor |= GDK_DECOR_MINIMIZE; - decor |= GDK_DECOR_BORDER; } if ((win->m_windowStyle & wxMAXIMIZE_BOX) != 0) { decor |= GDK_DECOR_MAXIMIZE; func |= GDK_FUNC_MAXIMIZE; - decor |= GDK_DECOR_BORDER; } if ((win->m_windowStyle & wxRESIZE_BORDER) != 0) { func |= GDK_FUNC_RESIZE; decor |= GDK_DECOR_RESIZEH; - decor |= GDK_DECOR_BORDER; } gdk_window_set_decorations( win->m_widget->window, (GdkWMDecoration)decor); gdk_window_set_functions( win->m_widget->window, (GdkWMFunction)func); -- 2.45.2