]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed superfluous GDK_DECOR_BORDER.
authorKarsten Ballüder <ballueder@usa.net>
Thu, 6 May 1999 15:13:02 +0000 (15:13 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Thu, 6 May 1999 15:13:02 +0000 (15:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dialog.cpp
src/gtk1/dialog.cpp

index 58b7ff2a51befbd6e814315a819213c4165c095b..894f22bf1e9c34de4be35bd03cc5ff812d07115e 100644 (file)
@@ -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);
index 58b7ff2a51befbd6e814315a819213c4165c095b..894f22bf1e9c34de4be35bd03cc5ff812d07115e 100644 (file)
@@ -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);