]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for compilation with both native and generic kinds of toolbars
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Dec 1999 18:13:36 +0000 (18:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Dec 1999 18:13:36 +0000 (18:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/frame.cpp
src/gtk1/frame.cpp

index c55604c5aac81f94882528dd0b488bd76a6d4d91..564c0d857518f21bace5d85b6b0e32a0601bd590 100644 (file)
@@ -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))
index c55604c5aac81f94882528dd0b488bd76a6d4d91..564c0d857518f21bace5d85b6b0e32a0601bd590 100644 (file)
@@ -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))