From: Karsten Ballüder Date: Thu, 6 May 1999 15:13:02 +0000 (+0000) Subject: Removed superfluous GDK_DECOR_BORDER. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5825712a9ea8cb47221d39b20246855e422dfe45?ds=sidebyside Removed superfluous GDK_DECOR_BORDER. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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);