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
This commit is contained in:
Vadim Zeitlin 1999-12-15 18:13:36 +00:00
parent ad4ae6ed7a
commit caf51f9536
2 changed files with 2 additions and 2 deletions

View 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))

View 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))