]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/button.h
compilation fixed for wxDataViewCtrl: almost no class was properly exported in wxGTK...
[wxWidgets.git] / include / wx / gtk1 / button.h
index aa5fe7b18fb8592e147c78125ec84c975c9e45ea..f3d0169639b0e40280b0e4926657e122c582c781 100644 (file)
@@ -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 );