/////////////////////////////////////////////////////////////////////////////
-// Name: button.h
+// Name: wx/osx/button.h
// Purpose: wxButton class
// Author: Stefan Csomor
// Modified by:
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr);
- static wxSize GetDefaultSize();
-
virtual void SetLabel(const wxString& label);
virtual wxWindow *SetDefault();
virtual void Command(wxCommandEvent& event);
virtual bool OSXHandleClicked( double timestampsec );
protected:
- virtual wxSize DoGetBestSize() const ;
-
-#if wxOSX_USE_COCOA
- virtual wxBitmap DoGetBitmap(State which) const;
- virtual void DoSetBitmap(const wxBitmap& bitmap, State which);
- virtual void DoSetBitmapPosition(wxDirection dir);
-#endif // wxOSX_USE_COCOA
-
DECLARE_DYNAMIC_CLASS(wxButton)
};
const wxString& label = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = 0,
+ long style = wxBORDER_NONE,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr)
{
const wxString& label = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = 0,
+ long style = wxBORDER_NONE,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr);
protected:
virtual wxSize DoGetBestSize() const ;
-
};
#endif // _WX_OSX_BUTTON_H_