From caf51f9536ef4a0d05cd4a180e605b511b4cba42 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Dec 1999 18:13:36 +0000 Subject: [PATCH] fix for compilation with both native and generic kinds of toolbars git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/frame.cpp | 2 +- src/gtk1/frame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index c55604c5aa..564c0d8575 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -357,7 +357,7 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child ) child->m_width, child->m_height ); -#if wxUSE_TOOLBAR && !wxUSE_TOOLBAR_SIMPLE +#if wxUSE_TOOLBAR_NATIVE /* we connect to these events for recalculating the client area space when the toolbar is floating */ if (wxIS_KIND_OF(child,wxToolBar)) diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index c55604c5aa..564c0d8575 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -357,7 +357,7 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child ) child->m_width, child->m_height ); -#if wxUSE_TOOLBAR && !wxUSE_TOOLBAR_SIMPLE +#if wxUSE_TOOLBAR_NATIVE /* we connect to these events for recalculating the client area space when the toolbar is floating */ if (wxIS_KIND_OF(child,wxToolBar)) -- 2.45.2