]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk/win_gtk.h
fix some typos/imprecisions
[wxWidgets.git] / include / wx / gtk / win_gtk.h
... / ...
CommitLineData
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
18struct WXDLLIMPEXP_CORE wxPizza
19{
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;
32};
33
34#endif // _WX_GTK_PIZZA_H_