Removed superfluous GDK_DECOR_BORDER.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
58d1c1ae86
commit
5825712a9e
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user