X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/743e24aa72ed41a56884698802e3b31ca9f26b31..7ed9cd2891d4479fa3c2b822c474e96c5f34a488:/include/wx/os2/control.h?ds=inline 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