void OnMouseEvent(wxMouseEvent& event);
void OnSysColourChanged(wxSysColourChangedEvent& event);
+ static WXHBITMAP MapBitmap(WXHBITMAP bitmap, int width, int height);
+
protected:
// common part of all ctors
void Init();
// the total number of toolbar elements
size_t m_nButtons;
+ // the tool the cursor is in
+ wxToolBarToolBase *m_pInTool;
+
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxToolBar)
-
- static bool sm_coloursInit; // Have we initialized the colour table yet?
- static long sm_stdColours[6]; // The RGB values of the standard 6 colours
-
-public:
- void MapBitmap(WXHBITMAP bitmap, int width, int height);
-
};
#endif // wxUSE_TOOLBAR