Store pointer to owning wxWindow in wxPizza widget

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-01-29 22:32:25 +00:00
parent c12822fec7
commit 55ca41b1ea
5 changed files with 7 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ struct WXDLLIMPEXP_CORE wxPizza
enum { BORDER_STYLES =
wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME };
static GtkWidget* New(long windowStyle = 0);
static GtkWidget* New(long windowStyle, void *owner);
static GType type();
void move(GtkWidget* widget, int x, int y);
void scroll(int dx, int dy);
@@ -33,6 +33,7 @@ struct WXDLLIMPEXP_CORE wxPizza
int m_scroll_y;
int m_border_style;
bool m_is_scrollable;
void *m_owner;
};
#endif // _WX_GTK_PIZZA_H_