// Author: Vadim Zeitlin
// Modified by:
// Created: 25.08.00
-// RCS-ID: $Id$
// Copyright: (c) Vadim Zeitlin
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_UNIV_BMPBUTTN_H_
#define _WX_UNIV_BMPBUTTN_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "univbmpbuttn.h"
-#endif
-
-class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase
{
public:
wxBitmapButton() { }
virtual void SetMargins(int x, int y)
{
- SetImageMargins(x, y);
+ SetBitmapMargins(x, y);
wxBitmapButtonBase::SetMargins(x, y);
}
// called when one of the bitmap is changed by user
virtual void OnSetBitmap();
- // set bitmap to the given one if it's ok or to m_bmpNormal and return
- // true if the bitmap really changed
+ // set bitmap to the given one if it's ok or to the normal bitmap and
+ // return true if the bitmap really changed
bool ChangeBitmap(const wxBitmap& bmp);
private: