#ifndef _WX_UNIV_BUTTON_H_
#define _WX_UNIV_BUTTON_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "univbutton.h"
#endif
class WXDLLEXPORT wxButton : public wxButtonBase
{
public:
- wxButton() { Init(); }
+ wxButton();
wxButton(wxWindow *parent,
wxWindowID id,
const wxBitmap& bitmap,
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,
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,