// classes
//-----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxButton;
+class WXDLLIMPEXP_FWD_CORE wxButton;
//-----------------------------------------------------------------------------
// global data
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr);
- virtual void SetDefault();
+ virtual wxWindow *SetDefault();
virtual void SetLabel( const wxString &label );
virtual bool Enable( bool enable = TRUE );