From 59d09ad42f94c90d28e3858f8ff9ee2ab7e9ff38 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 14 Nov 2007 02:38:29 +0000 Subject: [PATCH] put the useable border styles in one place git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/win_gtk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/win_gtk.cpp b/src/gtk/win_gtk.cpp index de2354d2b6..19909e87c6 100644 --- a/src/gtk/win_gtk.cpp +++ b/src/gtk/win_gtk.cpp @@ -302,8 +302,8 @@ GtkWidget* wxPizza::New(long windowStyle) pizza->m_scroll_x = 0; pizza->m_scroll_y = 0; pizza->m_is_scrollable = (windowStyle & (wxHSCROLL | wxVSCROLL)) != 0; - pizza->m_border_style = - int(windowStyle & (wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME)); + // mask off border styles not useable with wxPizza + pizza->m_border_style = int(windowStyle & BORDER_STYLES); gtk_fixed_set_has_window(GTK_FIXED(widget), true); gtk_widget_add_events(widget, GDK_EXPOSURE_MASK | -- 2.45.2