]>
git.saurik.com Git - wxWidgets.git/blob - src/gtk/bmpbuttn.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/gtk/bmpbuttn.cpp
4 // Author: Robert Roebling
5 // Copyright: (c) 1998 Robert Roebling
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 // For compilers that support precompilation, includes "wx.h".
10 #include "wx/wxprec.h"
14 #include "wx/bmpbuttn.h"
16 bool wxBitmapButton::Create(wxWindow
*parent
,
18 const wxBitmap
& bitmap
,
22 const wxValidator
& validator
,
25 if ( !wxBitmapButtonBase::Create(parent
, id
, pos
, size
, style
,
31 SetBitmapLabel(bitmap
);
33 // we need to adjust the size after setting the bitmap as it may be too
34 // big for the default button size
40 #endif // wxUSE_BMPBUTTON