X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3399e6cbed96155cdb58d11e4d44b5590504121..48f7ffbe93ab587c54643e2476b0e3b0c74e1386:/include/wx/msw/tbarmsw.h diff --git a/include/wx/msw/tbarmsw.h b/include/wx/msw/tbarmsw.h index d51e0ebad9..00015a908a 100644 --- a/include/wx/msw/tbarmsw.h +++ b/include/wx/msw/tbarmsw.h @@ -1,18 +1,18 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx/msw/tbarmsw.h -// Purpose: wxToolBar for Win16 +// Purpose: wxToolBar for older Windowses // Author: Julian Smart // Modified by: 13.12.99 by VZ during toolbar classes reorganization // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TBARMSW_H_ #define _WX_TBARMSW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbarmsw.h" #endif @@ -20,12 +20,12 @@ #include "wx/tbarbase.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxButtonBarNameStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxButtonBarNameStr; class WXDLLEXPORT wxMemoryDC; // ---------------------------------------------------------------------------- -// wxToolBar for Win16 +// wxToolBar for older Windowses // ---------------------------------------------------------------------------- class WXDLLEXPORT wxToolBar : public wxToolBarBase @@ -61,7 +61,7 @@ public: const wxBitmap& pushedBitmap, bool toggle, wxCoord xPos, - wxCoord yPos = -1, + wxCoord yPos = wxDefaultCoord, wxObject *clientData = NULL, const wxString& helpString1 = wxEmptyString, const wxString& helpString2 = wxEmptyString); @@ -76,7 +76,7 @@ public: // implementation only from now on // ------------------------------- - // Handle wxWindows events + // Handle wxWidgets events void OnPaint(wxPaintEvent& event); void OnMouseEvent(wxMouseEvent& event);