X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/743e24aa72ed41a56884698802e3b31ca9f26b31..438959cca892a7651634cc3a7aad4819ac49b23c:/include/wx/os2/control.h?ds=sidebyside diff --git a/include/wx/os2/control.h b/include/wx/os2/control.h index 12faf42fae..9825ad6b0c 100644 --- a/include/wx/os2/control.h +++ b/include/wx/os2/control.h @@ -15,7 +15,7 @@ #include "wx/dynarray.h" // General item class -class WXDLLEXPORT wxControl : public wxControlBase +class WXDLLIMPEXP_CORE wxControl : public wxControlBase { DECLARE_ABSTRACT_CLASS(wxControl) @@ -32,7 +32,6 @@ public: { Create( pParent, vId, rPos, rSize, lStyle, rValidator, rsName ); } - virtual ~wxControl(); bool Create( wxWindow* pParent ,wxWindowID vId @@ -64,8 +63,8 @@ public: // // For ownerdraw items // - virtual bool OS2OnDraw(WXDRAWITEMSTRUCT* WXUNUSED(pItem)) { return false; }; - virtual long OS2OnMeasure(WXMEASUREITEMSTRUCT* WXUNUSED(pItem)) { return 0L; }; + virtual bool OS2OnDraw(WXDRAWITEMSTRUCT* WXUNUSED(pItem)) { return false; } + virtual long OS2OnMeasure(WXMEASUREITEMSTRUCT* WXUNUSED(pItem)) { return 0L; } wxArrayLong& GetSubcontrols() { return m_aSubControls; } void OnEraseBackground(wxEraseEvent& rEvent); @@ -123,6 +122,7 @@ private: int m_nYComp; wxString m_label; + WXDWORD m_dwStyle; DECLARE_EVENT_TABLE() }; // end of wxControl