put the useable border styles in one place

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-11-14 02:37:52 +00:00
parent 7fb02ea7d6
commit d7645b3edb
2 changed files with 5 additions and 1 deletions

View File

@@ -2414,7 +2414,7 @@ void wxWindowGTK::PostCreation()
// border drawing
#ifndef __WXUNIVERSAL__
if (HasFlag(wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME))
if (HasFlag(wxPizza::BORDER_STYLES))
{
g_signal_connect(m_widget, "expose_event",
G_CALLBACK(expose_event_border), this);