#ifndef _WX_BARWCE_H_
#define _WX_BARWCE_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "tbarwce.h"
-#endif
-
#if wxUSE_TOOLBAR
#include "wx/dynarray.h"
wxObject *clientData,
const wxString& shortHelp,
const wxString& longHelp);
- virtual wxToolBarToolBase *CreateTool(wxControl *control);
+ virtual wxToolBarToolBase *CreateTool(wxControl *control,
+ const wxString& label);
private:
DECLARE_EVENT_TABLE()
// implementation only from now on
// -------------------------------
+ // Override in order to bypass wxToolBar's overridden function
+ virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+
virtual bool MSWCommand(WXUINT param, WXWORD id);
// Return HMENU for the menu associated with the commandbar
wxObject *clientData,
const wxString& shortHelp,
const wxString& longHelp);
- virtual wxToolBarToolBase *CreateTool(wxControl *control);
+ virtual wxToolBarToolBase *CreateTool(wxControl *control,
+ const wxString& label);
// The menubar associated with this toolbar
wxMenuBar* m_menuBar;