]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/private/win_gtk.h
remove instance init function, memory is already zeroed
[wxWidgets.git] / include / wx / gtk / private / win_gtk.h
CommitLineData
c67daf87 1/* ///////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/gtk/private/win_gtk.h
08f53168 3// Purpose: native GTK+ widget for wxWindow
c801d85f 4// Author: Robert Roebling
58614078
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
5b12ccee 7// Licence: wxWindows licence
c67daf87 8/////////////////////////////////////////////////////////////////////////// */
c801d85f 9
08f53168
PC
10#ifndef _WX_GTK_PIZZA_H_
11#define _WX_GTK_PIZZA_H_
c801d85f 12
08f53168
PC
13#define WX_PIZZA(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, wxPizza::type(), wxPizza)
14#define WX_IS_PIZZA(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, wxPizza::type())
e8106239 15
08f53168 16struct WXDLLIMPEXP_CORE wxPizza
c801d85f 17{
d7645b3e
PC
18 // borders styles which can be used with wxPizza
19 enum { BORDER_STYLES =
20 wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME };
21
0f52f610 22 static GtkWidget* New(long windowStyle = 0);
08f53168 23 static GType type();
3b7067a0
PC
24 void move(GtkWidget* widget, int x, int y, int width, int height);
25 void put(GtkWidget* widget, int x, int y, int width, int height);
08f53168 26 void scroll(int dx, int dy);
9dc44eff 27 void get_border(GtkBorder& border);
08f53168
PC
28
29 GtkFixed m_fixed;
3b7067a0 30 GList* m_children;
08f53168
PC
31 int m_scroll_x;
32 int m_scroll_y;
9dc44eff 33 int m_windowStyle;
c801d85f
KB
34};
35
08f53168 36#endif // _WX_GTK_PIZZA_H_