diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index 0a849c5b3f..e637e94c35 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -299,7 +299,7 @@ void MyFrame::RecreateToolbar() toolBar->AddTool(wxID_OPEN, _T("Open"), toolBarBitmaps[1], _T("Open file")); // neither the generic nor Motif native toolbars really support this -#if (wxUSE_TOOLBAR_NATIVE && !USE_GENERIC_TBAR) && !defined(__WXMOTIF__) && !defined(__WXX11__) +#if (wxUSE_TOOLBAR_NATIVE && !USE_GENERIC_TBAR) && !defined(__WXMOTIF__) && !defined(__WXX11__) && !defined(__WXMAC__) // adding a combo to a vertical toolbar is not very smart if ( m_horzToolbar ) {