projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxMac doesn't need UseNativeStatusBar hack
[wxWidgets.git]
/
include
/
wx
/
msw
/
tbarmsw.h
diff --git
a/include/wx/msw/tbarmsw.h
b/include/wx/msw/tbarmsw.h
index d03dbe7ff3afffa90fd7ab4367c49c4f31bd1aa5..53874e300a8864e83e4896017e4bfc7381a0ccb9 100644
(file)
--- a/
include/wx/msw/tbarmsw.h
+++ b/
include/wx/msw/tbarmsw.h
@@
-6,7
+6,7
@@
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence:
wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_TBARMSW_H_
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_TBARMSW_H_
@@
-16,7
+16,7
@@
#pragma interface "tbarmsw.h"
#endif
#pragma interface "tbarmsw.h"
#endif
-#if wxUSE_
BUTTONBAR && wxUSE_
TOOLBAR
+#if wxUSE_TOOLBAR
#include "wx/tbarbase.h"
#include "wx/tbarbase.h"
@@
-90,12
+90,13
@@
protected:
virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle);
virtual wxToolBarToolBase *CreateTool(int id,
virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle);
virtual wxToolBarToolBase *CreateTool(int id,
- const wxBitmap& bitmap1,
- const wxBitmap& bitmap2,
- bool toggle,
+ const wxString& label,
+ const wxBitmap& bmpNormal,
+ const wxBitmap& bmpDisabled,
+ wxItemKind kind,
wxObject *clientData,
wxObject *clientData,
- const wxString& shortHelp
String
,
- const wxString& longHelp
String
);
+ const wxString& shortHelp,
+ const wxString& longHelp);
virtual wxToolBarToolBase *CreateTool(wxControl *control);
void DoRedrawTool(wxToolBarToolBase *tool);
virtual wxToolBarToolBase *CreateTool(wxControl *control);
void DoRedrawTool(wxToolBarToolBase *tool);
@@
-144,7
+145,7
@@
private:
DECLARE_DYNAMIC_CLASS(wxToolBar)
};
DECLARE_DYNAMIC_CLASS(wxToolBar)
};
-#endif // wxUSE_TOOL
/BUTTON
BAR
+#endif // wxUSE_TOOLBAR
#endif
// _WX_TBARMSW_H_
#endif
// _WX_TBARMSW_H_