New "pizza" widget implementation. Window border widths now match the GtkStyle they are drawn with.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkx.h>
|
||||
|
||||
#include "wx/gtk/win_gtk.h"
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -234,7 +232,7 @@ bool wxGLCanvas::Create(wxWindow *parent,
|
||||
|
||||
Window wxGLCanvas::GetXWindow() const
|
||||
{
|
||||
GdkWindow *window = GTK_PIZZA(m_wxwindow)->bin_window;
|
||||
GdkWindow *window = m_wxwindow->window;
|
||||
return window ? GDK_WINDOW_XWINDOW(window) : 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user