// wxButton specific flags
// ----------------------------------------------------------------------------
+#if WXWIN_COMPATIBILITY_2_8
// These two flags are obsolete
#define wxBU_NOAUTODRAW 0x0000
#define wxBU_AUTODRAW 0x0004
+#endif
// by default, the buttons will be created with some (system dependent)
// minimal size to make them look nicer, giving this style will make them as
#include "wx/control.h"
-class WXDLLEXPORT wxBitmap;
+class WXDLLIMPEXP_FWD_CORE wxBitmap;
-extern WXDLLEXPORT_DATA(const wxChar) wxButtonNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxButtonNameStr[];
// ----------------------------------------------------------------------------
// wxButton: a push button
static wxSize GetDefaultSize();
protected:
+ // choose the default border for this window
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
DECLARE_NO_COPY_CLASS(wxButtonBase)
};