X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/466c0ffd61c1920445d52b522c8a717cc36e1cef..1abfa172c547a37751e598084fb8d541071471a3:/src/gtk/win_gtk.cpp 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 |