]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toolbar.h
a warning in the release build suppressed
[wxWidgets.git] / include / wx / toolbar.h
index 5e329fba0fcd3e21bc3d0c768cad1b419f1e49a1..4b5dd61fe4d89ec276c021412cf61aa858335e11 100644 (file)
@@ -1,11 +1,19 @@
-#ifndef __TOOLBARH_BASE__
-#define __TOOLBARH_BASE__
+#ifndef _TOOLBAR_H_BASE_
+#define _TOOLBAR_H_BASE_
 
-#if defined(__WINDOWS__)
-#include "wx/tbar95.h"
-#elif defined(__GTK__)
-#include "wx/gtk/tbargtk.h"
+#if defined(__WXMSW__) && defined(__WIN95__)
+#   include "wx/tbar95.h"
+#   define wxToolBar wxToolBar95
+#   define classwxToolBar classwxToolBar95
+#elif defined(__WXMSW__)
+#   include "wx/tbarmsw.h"
+#   define wxToolBar wxToolBarMSW
+#   define classwxToolBar classwxToolBarMSW
+#elif defined(__WXGTK__)
+#   include "wx/gtk/tbargtk.h"
+#   define wxToolBar wxToolBarGTK
+#   define classwxToolBar classwxToolBarGTK
 #endif
 
 #endif
-    // __TOOLBARH_BASE__
+    // _TOOLBAR_H_BASE_