]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/toolbar.cpp
make it possible to have empty lines in wxListCtrl
[wxWidgets.git] / src / univ / toolbar.cpp
index 774c5d5a75047e000daa4e8a733a3f5927a94567..3db050063163c16f36b749af3400d63da8d10bda 100644 (file)
     #pragma hdrstop
 #endif
 
+#if wxUSE_TOOLBAR
+
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/app.h"
-
-    #include "wx/univ/renderer.h"
 #endif
 
+#include "wx/univ/renderer.h"
+
 #include "wx/toolbar.h"
 #include "wx/image.h"
 
@@ -705,3 +707,5 @@ bool wxStdToolbarInputHandler::HandleActivation(wxInputConsumer *consumer,
     return TRUE;
 }
 
+#endif // wxUSE_TOOLBAR
+