]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/button.h
reSWIGged
[wxWidgets.git] / include / wx / univ / button.h
index 18831518d197b59206d4e41d3e3e2e0fdca2be24..fcc95e74b6a7c47f12f3cc556204ad1b3218f130 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_BUTTON_H_
 #define _WX_UNIV_BUTTON_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univbutton.h"
 #endif
 
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxInputHandler;
 class WXDLLEXPORT wxButton : public wxButtonBase
 {
 public:
-    wxButton() { Init(); }
+    wxButton();
     wxButton(wxWindow *parent,
              wxWindowID id,
              const wxBitmap& bitmap,
@@ -45,12 +45,7 @@ public:
              const wxSize& size = wxDefaultSize,
              long style = 0,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = wxButtonNameStr)
-    {
-        Init();
-
-        Create(parent, id, bitmap, label, pos, size, style, validator, name);
-    }
+             const wxString& name = wxButtonNameStr);
 
     wxButton(wxWindow *parent,
              wxWindowID id,
@@ -59,12 +54,7 @@ public:
              const wxSize& size = wxDefaultSize,
              long style = 0,
              const wxValidator& validator = wxDefaultValidator,
-             const wxString& name = wxButtonNameStr)
-    {
-        Init();
-
-        Create(parent, id, label, pos, size, style, validator, name);
-    }
+             const wxString& name = wxButtonNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,