implement wxGTK wxBitmapButton in terms of wxButton

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-06-16 19:31:50 +00:00
parent b4a4eafbcc
commit c37dd6dad7
4 changed files with 68 additions and 291 deletions

View File

@@ -18,10 +18,10 @@
#include "wx/button.h"
// FIXME: right now only wxMSW implements bitmap support in wxButton
// FIXME: right now only wxMSW and wxGTK implement bitmap support in wxButton
// itself, this shouldn't be used for the other platforms neither
// when all of them do it
#ifdef __WXMSW__
#if defined(__WXMSW__) || defined(__WXGTK__)
#define wxHAS_BUTTON_BITMAP
#endif