X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5226ac62f121ecfde6cca2569c51beb92c7cdd29..462167a9f7f9bace458054445806dd30c1ba2079:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index 7a70a4c156..2a91838078 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -22,13 +22,13 @@ #include "wx/window.h" // base class -extern WXDLLEXPORT_DATA(const wxChar) wxControlNameStr[]; +extern WXDLLIMPEXP_DATA_CORE(const char) wxControlNameStr[]; // ---------------------------------------------------------------------------- // wxControl is the base class for all controls // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxControlBase : public wxWindow +class WXDLLIMPEXP_CORE wxControlBase : public wxWindow { public: wxControlBase() { } @@ -92,6 +92,9 @@ public: virtual void DoUpdateWindowUI(wxUpdateUIEvent& event); protected: + // choose the default border for this window + virtual wxBorder GetDefaultBorder() const; + // creates the control (calls wxWindowBase::CreateBase inside) and adds it // to the list of parents children bool CreateControl(wxWindowBase *parent,