X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef94bfc25eb21f1d3fa93b3d55c5a1ca18d8e62..a596eeb93f525c64d374f49e5986c57d1ea124a7:/include/wx/gtk1/button.h diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index aa5fe7b18f..f3d0169639 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -19,7 +19,7 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxButton; +class WXDLLIMPEXP_FWD_CORE wxButton; //----------------------------------------------------------------------------- // global data @@ -54,7 +54,7 @@ public: 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 );