X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7ac40d158bbc88f497e29b6efcda20be7da4973..1e3698e55d7ee45267b69fa8ed5f94886ad47be9:/src/gtk1/tbargtk.cpp diff --git a/src/gtk1/tbargtk.cpp b/src/gtk1/tbargtk.cpp index de244c82b1..651c6ba081 100644 --- a/src/gtk1/tbargtk.cpp +++ b/src/gtk1/tbargtk.cpp @@ -12,6 +12,9 @@ #endif #include "wx/toolbar.h" + +#if wxUSE_TOOLBAR + #include "wx/frame.h" #include "glib.h" @@ -584,3 +587,4 @@ void wxToolBar::OnIdle( wxIdleEvent &WXUNUSED(ievent) ) } } +#endif