Reverse hierarchy of wxPizza GdkWindows
widget->window must be topmost in order for GTK+ to calculate DND drop coordinates correctly fixes #11834 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -24,10 +24,12 @@ struct WXDLLIMPEXP_CORE wxPizza | ||||
|     static GtkWidget* New(long windowStyle = 0); | ||||
|     static GType type(); | ||||
|     void move(GtkWidget* widget, int x, int y); | ||||
|     void put(GtkWidget* widget, int x, int y); | ||||
|     void scroll(int dx, int dy); | ||||
|     void get_border_widths(int& x, int& y); | ||||
|  | ||||
|     GtkFixed m_fixed; | ||||
|     GdkWindow* m_draw_window; | ||||
|     int m_scroll_x; | ||||
|     int m_scroll_y; | ||||
|     int m_border_style; | ||||
|   | ||||
| @@ -323,8 +323,8 @@ protected: | ||||
|     virtual void DoFreeze(); | ||||
|     virtual void DoThaw(); | ||||
|  | ||||
|     static void GTKFreezeWidget(GtkWidget *w); | ||||
|     static void GTKThawWidget(GtkWidget *w); | ||||
|     void GTKFreezeWidget(GtkWidget *w); | ||||
|     void GTKThawWidget(GtkWidget *w); | ||||
|  | ||||
| #if wxUSE_TOOLTIPS | ||||
|     virtual void DoSetToolTip( wxToolTip *tip ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user