#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); }
// default style for the control include WS_TABSTOP if it AcceptsFocus()
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+protected:
// choose the default border for this window
virtual wxBorder GetDefaultBorder() const;
-protected:
// return default best size (doesn't really make any sense, override this)
virtual wxSize DoGetBestSize() const;