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:
@@ -357,7 +357,7 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child )
|
|||||||
child->m_width,
|
child->m_width,
|
||||||
child->m_height );
|
child->m_height );
|
||||||
|
|
||||||
#if wxUSE_TOOLBAR && !wxUSE_TOOLBAR_SIMPLE
|
#if wxUSE_TOOLBAR_NATIVE
|
||||||
/* we connect to these events for recalculating the client area
|
/* we connect to these events for recalculating the client area
|
||||||
space when the toolbar is floating */
|
space when the toolbar is floating */
|
||||||
if (wxIS_KIND_OF(child,wxToolBar))
|
if (wxIS_KIND_OF(child,wxToolBar))
|
||||||
|
@@ -357,7 +357,7 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child )
|
|||||||
child->m_width,
|
child->m_width,
|
||||||
child->m_height );
|
child->m_height );
|
||||||
|
|
||||||
#if wxUSE_TOOLBAR && !wxUSE_TOOLBAR_SIMPLE
|
#if wxUSE_TOOLBAR_NATIVE
|
||||||
/* we connect to these events for recalculating the client area
|
/* we connect to these events for recalculating the client area
|
||||||
space when the toolbar is floating */
|
space when the toolbar is floating */
|
||||||
if (wxIS_KIND_OF(child,wxToolBar))
|
if (wxIS_KIND_OF(child,wxToolBar))
|
||||||
|
Reference in New Issue
Block a user