]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/private/win_gtk.h
wxMessageBox off the main thread lost result code.
[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 5// Copyright: (c) 1998 Robert Roebling
5b12ccee 6// Licence: wxWindows licence
c67daf87 7/////////////////////////////////////////////////////////////////////////// */
c801d85f 8
08f53168
PC
9#ifndef _WX_GTK_PIZZA_H_
10#define _WX_GTK_PIZZA_H_
c801d85f 11
08f53168
PC
12#define WX_PIZZA(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, wxPizza::type(), wxPizza)
13#define WX_IS_PIZZA(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, wxPizza::type())
e8106239 14
08f53168 15struct WXDLLIMPEXP_CORE wxPizza
c801d85f 16{
d7645b3e
PC
17 // borders styles which can be used with wxPizza
18 enum { BORDER_STYLES =
19 wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME };
20
0f52f610 21 static GtkWidget* New(long windowStyle = 0);
08f53168 22 static GType type();
3b7067a0
PC
23 void move(GtkWidget* widget, int x, int y, int width, int height);
24 void put(GtkWidget* widget, int x, int y, int width, int height);
08f53168 25 void scroll(int dx, int dy);
9dc44eff 26 void get_border(GtkBorder& border);
08f53168
PC
27
28 GtkFixed m_fixed;
3b7067a0 29 GList* m_children;
08f53168
PC
30 int m_scroll_x;
31 int m_scroll_y;
9dc44eff 32 int m_windowStyle;
c801d85f
KB
33};
34
08f53168 35#endif // _WX_GTK_PIZZA_H_