]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
wxDateTime progress: DST compuation, weekday computation, day-in-year and week
[wxWidgets.git] / src / gtk / 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))