X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a0681f9338345d0ef32b2ad809d49fd20861119..fd008b87e310c3c1ab42f9b79573cebecedad21c:/include/wx/msw/tbarmsw.h?ds=sidebyside diff --git a/include/wx/msw/tbarmsw.h b/include/wx/msw/tbarmsw.h index ed88e668d2..278353b88c 100644 --- a/include/wx/msw/tbarmsw.h +++ b/include/wx/msw/tbarmsw.h @@ -16,7 +16,7 @@ #pragma interface "tbarmsw.h" #endif -#if wxUSE_BUTTONBAR && wxUSE_TOOLBAR +#if wxUSE_TOOLBAR #include "wx/tbarbase.h" @@ -110,7 +110,7 @@ protected: void CreateMask(WXHDC hDC, int xoffset, int yoffset, int dx, int dy); void DrawBlankButton(WXHDC hdc, int x, int y, int dx, int dy, int state); void DrawButton(WXHDC hdc, int x, int y, int dx, int dy, - wxToolBarTool *tool, int state); + wxToolBarToolBase *tool, int state); WXHBITMAP CreateDitherBitmap(); bool CreateDitherBrush(); bool FreeDitherBrush(); @@ -144,7 +144,7 @@ private: DECLARE_DYNAMIC_CLASS(wxToolBar) }; -#endif // wxUSE_TOOL/BUTTONBAR +#endif // wxUSE_TOOLBAR #endif // _WX_TBARMSW_H_