]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/win_gtk.h
fix some typos/imprecisions
[wxWidgets.git] / include / wx / gtk / win_gtk.h
CommitLineData
c67daf87 1/* ///////////////////////////////////////////////////////////////////////////
c801d85f 2// Name: 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 13#include <gtk/gtkfixed.h>
c801d85f 14
08f53168
PC
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())
e8106239 17
08f53168 18struct WXDLLIMPEXP_CORE wxPizza
c801d85f 19{
08f53168
PC
20 static GtkWidget* New(long windowStyle = 0);
21 static GType type();
22 void move(GtkWidget* widget, int x, int y);
23 void scroll(int dx, int dy);
24 void get_border_widths(int& x, int& y);
25
26 GtkFixed m_fixed;
27 GdkWindow* m_backing_window;
28 int m_scroll_x;
29 int m_scroll_y;
30 int m_border_style;
31 bool m_is_scrollable;
c801d85f
KB
32};
33
08f53168 34#endif // _WX_GTK_PIZZA_H_