#include "wx/dynarray.h"
// General item class
-class WXDLLEXPORT wxControl : public wxControlBase
+class WXDLLIMPEXP_CORE wxControl : public wxControlBase
{
public:
wxControl() { }
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxControlNameStr);
- virtual ~wxControl();
// Simulates an event
virtual void Command(wxCommandEvent& event) { ProcessCommand(event); }
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
protected:
+ // choose the default border for this window
+ virtual wxBorder GetDefaultBorder() const;
+
// return default best size (doesn't really make any sense, override this)
virtual wxSize DoGetBestSize() const;