changes to make wxGTK compile with GTK+ 2.0: now it does but the minimal
sample crashes on startup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
#include "wx/intl.h"
|
||||
#include "wx/log.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include "wx/gtk/private.h"
|
||||
#include "wx/gtk/win_gtk.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -686,7 +686,7 @@ void wxNotebook::ApplyWidgetStyle()
|
||||
bool wxNotebook::IsOwnGtkWindow( GdkWindow *window )
|
||||
{
|
||||
return ((m_widget->window == window) ||
|
||||
(GTK_NOTEBOOK(m_widget)->panel == window));
|
||||
(NOTEBOOK_PANEL(m_widget) == window));
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user