/////////////////////////////////////////////////////////////////////////////
-// Name: bmpbuttn.h
+// Name: wx/os2/bmpbuttn.h
// Purpose: wxBitmapButton class
// Author: David Webster
// Modified by:
#define _WX_BMPBUTTN_H_
#include "wx/button.h"
+#include "wx/dcclient.h"
-WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr;
+WXDLLIMPEXP_DATA_CORE(extern const char) wxButtonNameStr[];
#define wxDEFAULT_BUTTON_MARGIN 4
-class WXDLLEXPORT wxBitmapButton: public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton: public wxBitmapButtonBase
{
public:
inline wxBitmapButton()
SetBitmapLabel(rBitmap);
}
-#if WXWIN_COMPATIBILITY
- wxBitmap* GetBitmap(void) const
- {
- return (wxBitmap *)&m_buttonBitmap;
- }
-#endif
-
//
// Implementation
//
- virtual void SetDefault();
virtual bool OS2OnDraw(WXDRAWITEMSTRUCT* pItem);
private: