diff --git a/include/wx/toolbar.h b/include/wx/toolbar.h index 3f78e0e50c..8aee3e80ca 100644 --- a/include/wx/toolbar.h +++ b/include/wx/toolbar.h @@ -1,6 +1,8 @@ #ifndef _TOOLBAR_H_BASE_ #define _TOOLBAR_H_BASE_ +// the application code should use only wxToolBar which is #define'd to be the +// native implementation for each platform #if defined(__WXMSW__) && defined(__WIN95__) # include "wx/tbar95.h" # define wxToolBar wxToolBar95 @@ -11,8 +13,6 @@ # define classwxToolBar classwxToolBarMSW #elif defined(__WXGTK__) # include "wx/gtk/tbargtk.h" -# define wxToolBarGTK wxToolBar -# define classwxToolBarGTK classwxToolBar #endif #endif