int theIndex = 0, const wxBitmap& bitmap1 = wxNullBitmap, const wxBitmap& bitmap2 = wxNullBitmap,
bool toggle = FALSE, wxObject *clientData = (wxObject *) NULL,
const wxString& shortHelpString = "", const wxString& longHelpString = "",
- GtkWidget *item = (GtkWidget *) NULL );
+ GtkWidget *pixmap = (GtkWidget *) NULL );
#else
wxToolBarTool(int theIndex, const wxBitmap& bitmap1 = wxNullBitmap, const wxBitmap& bitmap2 = wxNullBitmap,
bool toggle = FALSE, long xPos = -1, long yPos = -1,
#ifdef __WXGTK__
wxToolBar *m_owner;
GtkWidget *m_item;
+ GtkWidget *m_pixmap;
#endif
};
#endif
// Lay the tools out
- virtual void Layout(void);
+ virtual void LayoutTools();
// Add all the buttons: required for Win95.
virtual bool CreateTools(void) { return TRUE; }
void OnSize(wxSizeEvent& event);
void OnIdle(wxIdleEvent& event);
- // Required to force normal cursor-setting behaviour in Windows
-#ifdef __WXMSW__
- virtual void MSWOnMouseMove(int x, int y, WXUINT flags);
-#endif
-
protected:
wxList m_tools;
// int m_tilingDirection;