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