// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __TBARSMPLH__
-#define __TBARSMPLH__
+#ifndef _WX_TBARSMPLH__
+#define _WX_TBARSMPLH__
#ifdef __GNUG__
#pragma interface "tbarsmpl.h"
#include "wx/defs.h"
-#if USE_TOOLBAR
+#if wxUSE_TOOLBAR
#include "wx/bitmap.h"
#include "wx/list.h"
#include "wx/tbarbase.h"
-WXDLLEXPORT_DATA(extern const char*) wxToolBarNameStr;
+class WXDLLEXPORT wxMemoryDC;
+
+WXDLLEXPORT_DATA(extern const wxChar*) wxToolBarNameStr;
WXDLLEXPORT_DATA(extern const wxSize) wxDefaultSize;
WXDLLEXPORT_DATA(extern const wxPoint) wxDefaultPosition;
virtual void SpringUpButton(int index);
- void Layout(void);
+ virtual void LayoutTools();
// The post-tool-addition call
- bool Realize() { Layout(); return TRUE; };
+ virtual bool Realize() { LayoutTools(); return TRUE; };
protected:
int m_currentRowsOrColumns;
};
-#endif // USE_TOOLBAR
+#endif // wxUSE_TOOLBAR
#endif
- // __TBARSMPLH__
+ // _WX_TBARSMPLH__