]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/private/win_gtk.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / gtk / private / win_gtk.h
index f98a775a3df2786371c097da7d201b15e924d0ac..c1f55a85becfbedc72565a80da7b40745f0576ba 100644 (file)
@@ -21,7 +21,7 @@ struct WXDLLIMPEXP_CORE wxPizza
     enum { BORDER_STYLES =
         wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME };
 
-    static GtkWidget* New(long windowStyle = 0);
+    static GtkWidget* New(long windowStyle, void *owner);
     static GType type();
     void move(GtkWidget* widget, int x, int y);
     void scroll(int dx, int dy);
@@ -33,6 +33,7 @@ struct WXDLLIMPEXP_CORE wxPizza
     int m_scroll_y;
     int m_border_style;
     bool m_is_scrollable;
+    void *m_owner;
 };
 
 #endif // _WX_GTK_PIZZA_H_