#if wxUSE_BUTTONBAR && wxUSE_TOOLBAR
#include "wx/tbarbase.h"
-WXDLLEXPORT_DATA(extern const char*) wxToolBarNameStr;
+WXDLLEXPORT_DATA(extern const wxChar*) wxToolBarNameStr;
class WXDLLEXPORT wxToolBar95: public wxToolBarBase
{
const wxString& name = wxToolBarNameStr);
// Call default behaviour
- void OnPaint(wxPaintEvent& event) { Default() ; }
- void OnSize(wxSizeEvent& event) { Default() ; }
- void OnMouseEvent(wxMouseEvent& event) { Default() ; }
- void OnKillFocus(wxFocusEvent& event) { Default() ; }
+ void OnPaint(wxPaintEvent& WXUNUSED(event)) { Default() ; }
+ void OnSize(wxSizeEvent& WXUNUSED(event)) { Default() ; }
+ void OnKillFocus(wxFocusEvent& WXUNUSED(event)) { Default() ; }
+ void OnMouseEvent(wxMouseEvent& event);
// Handle wxToolBar95 events
wxSize GetToolSize(void) const;
wxSize GetMaxSize(void) const;
+
void GetSize(int *w, int *y) const;
virtual bool GetToolState(int toolIndex) const;
// Add all the buttons: required for Win95.
virtual bool CreateTools(void);
virtual void SetRows(int nRows);
- virtual void Layout(void) {}
+ virtual void LayoutButtons(void) {}
// The post-tool-addition call
bool Realize() { return CreateTools(); };