]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/button.h
Use wmain() if supported by the compiler/CRT instead of main().
[wxWidgets.git] / include / wx / gtk1 / button.h
index aa5fe7b18fb8592e147c78125ec84c975c9e45ea..a9b753f0938af46c950d666968c84898c0fb8a79 100644 (file)
 #include "wx/defs.h"
 #include "wx/object.h"
 #include "wx/list.h"
-#include "wx/control.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxButton;
-
-//-----------------------------------------------------------------------------
-// global data
-//-----------------------------------------------------------------------------
-
-extern WXDLLIMPEXP_CORE const wxChar wxButtonNameStr[];
 
 //-----------------------------------------------------------------------------
 // wxButton
@@ -54,7 +41,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 );