remove m_backing_window member, to keep people from trying to use it
[wxWidgets.git] / include / wx / gtk / private / win_gtk.h
1 /* ///////////////////////////////////////////////////////////////////////////
2 // Name: win_gtk.h
3 // Purpose: native GTK+ widget for wxWindow
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////// */
9
10 #ifndef _WX_GTK_PIZZA_H_
11 #define _WX_GTK_PIZZA_H_
12
13 #include <gtk/gtkfixed.h>
14
15 #define WX_PIZZA(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, wxPizza::type(), wxPizza)
16 #define WX_IS_PIZZA(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, wxPizza::type())
17
18 struct WXDLLIMPEXP_CORE wxPizza
19 {
20 // borders styles which can be used with wxPizza
21 enum { BORDER_STYLES =
22 wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME };
23
24 static GtkWidget* New(long windowStyle = 0);
25 static GType type();
26 void move(GtkWidget* widget, int x, int y);
27 void scroll(int dx, int dy);
28 void get_border_widths(int& x, int& y);
29
30 GtkFixed m_fixed;
31 int m_scroll_x;
32 int m_scroll_y;
33 int m_border_style;
34 bool m_is_scrollable;
35 };
36
37 #endif // _WX_GTK_PIZZA_H_