X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39b61aa3eb950489f880fbe2024d3b5bc82a11f5..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/include/wx/os2/treectrl.h diff --git a/include/wx/os2/treectrl.h b/include/wx/os2/treectrl.h index ae1ca33d04..4a1f678d20 100644 --- a/include/wx/os2/treectrl.h +++ b/include/wx/os2/treectrl.h @@ -27,9 +27,9 @@ typedef long wxDataType; // fwd decl -class WXDLLEXPORT wxImageList; -class WXDLLEXPORT wxDragImage; -struct WXDLLEXPORT wxTreeViewItem; +class WXDLLIMPEXP_CORE wxImageList; +class WXDLLIMPEXP_CORE wxDragImage; +struct WXDLLIMPEXP_FWD_CORE wxTreeViewItem; // a callback function used for sorting tree items, it should return -1 if the // first item precedes the second, +1 if the second precedes the first or 0 if @@ -48,7 +48,7 @@ WX_DECLARE_EXPORTED_VOIDPTR_HASH_MAP(wxTreeItemAttr *, wxMapTreeAttr); // ---------------------------------------------------------------------------- // wxTreeCtrl // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxTreeCtrl : public wxControl +class WXDLLIMPEXP_CORE wxTreeCtrl : public wxControl { public: // creation @@ -442,13 +442,13 @@ public: // interface compatibility, only. // wxTextCtrl* EditLabel( const wxTreeItemId& rItem - ,wxClassInfo* pTextCtrlClass = CLASSINFO(wxTextCtrl) + ,wxClassInfo* pTextCtrlClass = wxCLASSINFO(wxTextCtrl) ); // // returns NULL for OS/2 in ALL cases // - wxTextCtrl* GetEditControl(void) const {return (wxTextCtrl*)NULL;} + wxTextCtrl* GetEditControl(void) const {return NULL;} // // End editing and accept or discard the changes to item label @@ -586,7 +586,7 @@ private: ,int nImage ,int nImageSel ); - void DeleteTextCtrl() { }; + void DeleteTextCtrl() { } // // support for additional item images which we implement using @@ -624,7 +624,7 @@ private: friend class wxTreeSortHelper; DECLARE_DYNAMIC_CLASS(wxTreeCtrl) - DECLARE_NO_COPY_CLASS(wxTreeCtrl) + wxDECLARE_NO_COPY_CLASS(wxTreeCtrl); }; // end of CLASS wxTreeCtrl #endif // wxUSE_TREECTRL