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:
parent
7fb02ea7d6
commit
d7645b3edb
@ -17,6 +17,10 @@
|
||||
|
||||
struct WXDLLIMPEXP_CORE wxPizza
|
||||
{
|
||||
// borders styles which can be used with wxPizza
|
||||
enum { BORDER_STYLES =
|
||||
wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME };
|
||||
|
||||
static GtkWidget* New(long windowStyle = 0);
|
||||
static GType type();
|
||||
void move(GtkWidget* widget, int x, int y);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user