From 1ad83f6b37e3e3a0c4a6dc094cc346b45074bf6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 27 Jul 2000 09:35:16 +0000 Subject: [PATCH] added WXDLLEXPORT git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/xml/xh_bttn.h | 2 +- contrib/include/wx/xml/xh_chckb.h | 2 +- contrib/include/wx/xml/xh_chckl.h | 4 ++-- contrib/include/wx/xml/xh_choic.h | 2 +- contrib/include/wx/xml/xh_combo.h | 2 +- contrib/include/wx/xml/xh_dlg.h | 2 +- contrib/include/wx/xml/xh_gauge.h | 2 +- contrib/include/wx/xml/xh_html.h | 2 +- contrib/include/wx/xml/xh_menu.h | 4 ++-- contrib/include/wx/xml/xh_notbk.h | 4 ++-- contrib/include/wx/xml/xh_panel.h | 2 +- contrib/include/wx/xml/xh_radbt.h | 2 +- contrib/include/wx/xml/xh_radbx.h | 2 +- contrib/include/wx/xml/xh_sizer.h | 4 ++-- contrib/include/wx/xml/xh_slidr.h | 2 +- contrib/include/wx/xml/xh_spin.h | 4 ++-- contrib/include/wx/xml/xh_stbmp.h | 2 +- contrib/include/wx/xml/xh_sttxt.h | 2 +- contrib/include/wx/xml/xh_text.h | 2 +- contrib/include/wx/xml/xml.h | 20 ++++++++++---------- contrib/include/wx/xml/xmlio.h | 6 +++--- contrib/include/wx/xml/xmlres.h | 20 ++++++++++---------- contrib/utils/wxrcedit/editor.h | 24 ++++++++++++------------ contrib/utils/wxrcedit/nodehnd.h | 6 +++--- contrib/utils/wxrcedit/prophnd.h | 10 +++++----- contrib/utils/wxrcedit/treedt.h | 2 +- 26 files changed, 68 insertions(+), 68 deletions(-) diff --git a/contrib/include/wx/xml/xh_bttn.h b/contrib/include/wx/xml/xh_bttn.h index 74a1d538a4..c3853b8bc6 100644 --- a/contrib/include/wx/xml/xh_bttn.h +++ b/contrib/include/wx/xml/xh_bttn.h @@ -17,7 +17,7 @@ #include "wx/xml/xmlres.h" -class wxButtonXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler { public: wxButtonXmlHandler() : wxXmlResourceHandler() {} diff --git a/contrib/include/wx/xml/xh_chckb.h b/contrib/include/wx/xml/xh_chckb.h index 329331ab3b..e2c52a6c18 100644 --- a/contrib/include/wx/xml/xh_chckb.h +++ b/contrib/include/wx/xml/xh_chckb.h @@ -20,7 +20,7 @@ #if wxUSE_CHECKBOX -class wxCheckBoxXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxCheckBoxXmlHandler : public wxXmlResourceHandler { public: wxCheckBoxXmlHandler(); diff --git a/contrib/include/wx/xml/xh_chckl.h b/contrib/include/wx/xml/xh_chckl.h index c1bea68a5c..5e63ebf9e7 100644 --- a/contrib/include/wx/xml/xh_chckl.h +++ b/contrib/include/wx/xml/xh_chckl.h @@ -17,7 +17,7 @@ #include "wx/xml/xmlres.h" -class wxCheckListXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxCheckListXmlHandler : public wxXmlResourceHandler { public: wxCheckListXmlHandler(); @@ -30,4 +30,4 @@ class wxCheckListXmlHandler : public wxXmlResourceHandler -#endif // _WX_XH_CHECKLIST_H_ \ No newline at end of file +#endif // _WX_XH_CHECKLIST_H_ diff --git a/contrib/include/wx/xml/xh_choic.h b/contrib/include/wx/xml/xh_choic.h index f6ca1f890f..a1db703507 100644 --- a/contrib/include/wx/xml/xh_choic.h +++ b/contrib/include/wx/xml/xh_choic.h @@ -17,7 +17,7 @@ #include "wx/xml/xmlres.h" -class wxChoiceXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxChoiceXmlHandler : public wxXmlResourceHandler { public: wxChoiceXmlHandler(); diff --git a/contrib/include/wx/xml/xh_combo.h b/contrib/include/wx/xml/xh_combo.h index 4a4d29b887..02bc09da71 100644 --- a/contrib/include/wx/xml/xh_combo.h +++ b/contrib/include/wx/xml/xh_combo.h @@ -19,7 +19,7 @@ #if wxUSE_COMBOBOX -class wxComboBoxXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxComboBoxXmlHandler : public wxXmlResourceHandler { public: wxComboBoxXmlHandler(); diff --git a/contrib/include/wx/xml/xh_dlg.h b/contrib/include/wx/xml/xh_dlg.h index d2157c93be..2f59198c89 100644 --- a/contrib/include/wx/xml/xh_dlg.h +++ b/contrib/include/wx/xml/xh_dlg.h @@ -17,7 +17,7 @@ #include "wx/xml/xmlres.h" -class wxDialogXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxDialogXmlHandler : public wxXmlResourceHandler { public: wxDialogXmlHandler(); diff --git a/contrib/include/wx/xml/xh_gauge.h b/contrib/include/wx/xml/xh_gauge.h index 7380a3e330..802b36f07a 100644 --- a/contrib/include/wx/xml/xh_gauge.h +++ b/contrib/include/wx/xml/xh_gauge.h @@ -22,7 +22,7 @@ #include "wx/xml/xmlres.h" -class wxGaugeXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxGaugeXmlHandler : public wxXmlResourceHandler { enum { diff --git a/contrib/include/wx/xml/xh_html.h b/contrib/include/wx/xml/xh_html.h index dc1acd1228..e3f1bc26e1 100644 --- a/contrib/include/wx/xml/xh_html.h +++ b/contrib/include/wx/xml/xh_html.h @@ -21,7 +21,7 @@ #if wxUSE_HTML -class wxHtmlWindowXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxHtmlWindowXmlHandler : public wxXmlResourceHandler { public: wxHtmlWindowXmlHandler(); diff --git a/contrib/include/wx/xml/xh_menu.h b/contrib/include/wx/xml/xh_menu.h index 7e1e31fa53..9f5b741eb5 100644 --- a/contrib/include/wx/xml/xh_menu.h +++ b/contrib/include/wx/xml/xh_menu.h @@ -17,7 +17,7 @@ #include "wx/xml/xmlres.h" -class wxMenuXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxMenuXmlHandler : public wxXmlResourceHandler { public: wxMenuXmlHandler(); @@ -28,7 +28,7 @@ class wxMenuXmlHandler : public wxXmlResourceHandler bool m_InsideMenu; }; -class wxMenuBarXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxMenuBarXmlHandler : public wxXmlResourceHandler { public: wxMenuBarXmlHandler(); diff --git a/contrib/include/wx/xml/xh_notbk.h b/contrib/include/wx/xml/xh_notbk.h index 63e14ee054..0ce4a64faa 100644 --- a/contrib/include/wx/xml/xh_notbk.h +++ b/contrib/include/wx/xml/xh_notbk.h @@ -18,9 +18,9 @@ #if wxUSE_NOTEBOOK -class wxNotebook; +class WXDLLEXPORT wxNotebook; -class wxNotebookXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxNotebookXmlHandler : public wxXmlResourceHandler { public: wxNotebookXmlHandler(); diff --git a/contrib/include/wx/xml/xh_panel.h b/contrib/include/wx/xml/xh_panel.h index efa5ab3774..6ff056c7f7 100644 --- a/contrib/include/wx/xml/xh_panel.h +++ b/contrib/include/wx/xml/xh_panel.h @@ -17,7 +17,7 @@ #include "wx/xml/xmlres.h" -class wxPanelXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler { public: wxPanelXmlHandler(); diff --git a/contrib/include/wx/xml/xh_radbt.h b/contrib/include/wx/xml/xh_radbt.h index efe341b719..0e621e4ea8 100644 --- a/contrib/include/wx/xml/xh_radbt.h +++ b/contrib/include/wx/xml/xh_radbt.h @@ -20,7 +20,7 @@ #if wxUSE_RADIOBOX -class wxRadioButtonXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxRadioButtonXmlHandler : public wxXmlResourceHandler { public: wxRadioButtonXmlHandler(); diff --git a/contrib/include/wx/xml/xh_radbx.h b/contrib/include/wx/xml/xh_radbx.h index e7846a9952..b2125502b7 100644 --- a/contrib/include/wx/xml/xh_radbx.h +++ b/contrib/include/wx/xml/xh_radbx.h @@ -19,7 +19,7 @@ #if wxUSE_RADIOBOX -class wxRadioBoxXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxRadioBoxXmlHandler : public wxXmlResourceHandler { public: wxRadioBoxXmlHandler(); diff --git a/contrib/include/wx/xml/xh_sizer.h b/contrib/include/wx/xml/xh_sizer.h index 4dfc87d95d..818946e76e 100644 --- a/contrib/include/wx/xml/xh_sizer.h +++ b/contrib/include/wx/xml/xh_sizer.h @@ -18,9 +18,9 @@ #include "wx/xml/xmlres.h" -class wxSizer; +class WXDLLEXPORT wxSizer; -class wxSizerXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxSizerXmlHandler : public wxXmlResourceHandler { public: wxSizerXmlHandler(); diff --git a/contrib/include/wx/xml/xh_slidr.h b/contrib/include/wx/xml/xh_slidr.h index f27942f602..70df5f8a29 100644 --- a/contrib/include/wx/xml/xh_slidr.h +++ b/contrib/include/wx/xml/xh_slidr.h @@ -20,7 +20,7 @@ #if wxUSE_SLIDER -class wxSliderXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxSliderXmlHandler : public wxXmlResourceHandler { enum { diff --git a/contrib/include/wx/xml/xh_spin.h b/contrib/include/wx/xml/xh_spin.h index 31f42491e1..f01af65da0 100644 --- a/contrib/include/wx/xml/xh_spin.h +++ b/contrib/include/wx/xml/xh_spin.h @@ -19,7 +19,7 @@ #include "wx/defs.h" #if wxUSE_SPINBTN -class wxSpinButtonXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxSpinButtonXmlHandler : public wxXmlResourceHandler { enum { @@ -36,7 +36,7 @@ class wxSpinButtonXmlHandler : public wxXmlResourceHandler #endif #if wxUSE_SPINCTRL -class wxSpinCtrlXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxSpinCtrlXmlHandler : public wxXmlResourceHandler { enum { diff --git a/contrib/include/wx/xml/xh_stbmp.h b/contrib/include/wx/xml/xh_stbmp.h index a72941fbb9..cd31cbcc27 100644 --- a/contrib/include/wx/xml/xh_stbmp.h +++ b/contrib/include/wx/xml/xh_stbmp.h @@ -18,7 +18,7 @@ #include "wx/xml/xmlres.h" -class wxStaticBitmapXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxStaticBitmapXmlHandler : public wxXmlResourceHandler { public: wxStaticBitmapXmlHandler(); diff --git a/contrib/include/wx/xml/xh_sttxt.h b/contrib/include/wx/xml/xh_sttxt.h index 840a101d6c..9a57c98ff0 100644 --- a/contrib/include/wx/xml/xh_sttxt.h +++ b/contrib/include/wx/xml/xh_sttxt.h @@ -18,7 +18,7 @@ #include "wx/xml/xmlres.h" -class wxStaticTextXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxStaticTextXmlHandler : public wxXmlResourceHandler { public: wxStaticTextXmlHandler(); diff --git a/contrib/include/wx/xml/xh_text.h b/contrib/include/wx/xml/xh_text.h index 56f6f8e880..3e1c5899e7 100644 --- a/contrib/include/wx/xml/xh_text.h +++ b/contrib/include/wx/xml/xh_text.h @@ -18,7 +18,7 @@ #include "wx/xml/xmlres.h" -class wxTextCtrlXmlHandler : public wxXmlResourceHandler +class WXDLLEXPORT wxTextCtrlXmlHandler : public wxXmlResourceHandler { public: wxTextCtrlXmlHandler(); diff --git a/contrib/include/wx/xml/xml.h b/contrib/include/wx/xml/xml.h index f6cdbd5a85..c9d8549ec3 100644 --- a/contrib/include/wx/xml/xml.h +++ b/contrib/include/wx/xml/xml.h @@ -21,12 +21,12 @@ #include "wx/list.h" -class wxXmlNode; -class wxXmlProperty; -class wxXmlDocument; -class wxXmlIOHandler; -class wxInputStream; -class wxOutputStream; +class WXDLLEXPORT wxXmlNode; +class WXDLLEXPORT wxXmlProperty; +class WXDLLEXPORT wxXmlDocument; +class WXDLLEXPORT wxXmlIOHandler; +class WXDLLEXPORT wxInputStream; +class WXDLLEXPORT wxOutputStream; // Represents XML node type. @@ -64,7 +64,7 @@ enum wxXmlIOType // Example: in "src" is property with value // "hello.gif" and "id" is prop. with value "3". -class wxXmlProperty +class WXDLLEXPORT wxXmlProperty { public: wxXmlProperty() : m_Next(NULL) {} @@ -94,7 +94,7 @@ class wxXmlProperty // element with name="title", irrelevant content and one child (wxXML_TEXT_NODE // with content="hi"). -class wxXmlNode +class WXDLLEXPORT wxXmlNode { public: wxXmlNode() : m_Properties(NULL), m_Parent(NULL), @@ -165,7 +165,7 @@ class wxXmlNode // internal representation is independant on libxml and you can use // it without libxml (see Load/SaveBinary). -class wxXmlDocument : public wxObject +class WXDLLEXPORT wxXmlDocument : public wxObject { public: wxXmlDocument() : wxObject(), m_Version(_T("1.0")), m_Root(NULL) {} @@ -219,7 +219,7 @@ class wxXmlDocument : public wxObject // wxXmlIOHandler takes care of loading and/or saving XML data. // see xmlio.h for available handlers -class wxXmlIOHandler : public wxObject +class WXDLLEXPORT wxXmlIOHandler : public wxObject { public: wxXmlIOHandler() {} diff --git a/contrib/include/wx/xml/xmlio.h b/contrib/include/wx/xml/xmlio.h index 788f1f8023..3e336b46c9 100644 --- a/contrib/include/wx/xml/xmlio.h +++ b/contrib/include/wx/xml/xmlio.h @@ -20,7 +20,7 @@ #include "wx/xml/xml.h" -class wxXmlIOHandlerBin : public wxXmlIOHandler +class WXDLLEXPORT wxXmlIOHandlerBin : public wxXmlIOHandler { public: wxXmlIOHandlerBin() {} @@ -41,7 +41,7 @@ class wxXmlIOHandlerBin : public wxXmlIOHandler #if wxUSE_ZLIB -class wxXmlIOHandlerBinZ : public wxXmlIOHandlerBin +class WXDLLEXPORT wxXmlIOHandlerBinZ : public wxXmlIOHandlerBin { public: wxXmlIOHandlerBinZ() {} @@ -57,7 +57,7 @@ class wxXmlIOHandlerBinZ : public wxXmlIOHandlerBin -class wxXmlIOHandlerLibxml : public wxXmlIOHandler +class WXDLLEXPORT wxXmlIOHandlerLibxml : public wxXmlIOHandler { public: virtual wxXmlIOType GetType() { return wxXML_IO_LIBXML; } diff --git a/contrib/include/wx/xml/xmlres.h b/contrib/include/wx/xml/xmlres.h index bc8090ad37..89b5119d54 100644 --- a/contrib/include/wx/xml/xmlres.h +++ b/contrib/include/wx/xml/xmlres.h @@ -22,13 +22,13 @@ #include "wx/list.h" #include "wx/gdicmn.h" -class wxMenu; -class wxMenuBar; -class wxDialog; -class wxPanel; -class wxWindow; +class WXDLLEXPORT wxMenu; +class WXDLLEXPORT wxMenuBar; +class WXDLLEXPORT wxDialog; +class WXDLLEXPORT wxPanel; +class WXDLLEXPORT wxWindow; -class wxXmlResourceHandler; +class WXDLLEXPORT wxXmlResourceHandler; #include "wx/xml/xml.h" @@ -40,7 +40,7 @@ enum -class wxXmlResourceDataRecord +class WXDLLEXPORT wxXmlResourceDataRecord { public: wxXmlResourceDataRecord() : Doc(NULL), Time(wxDateTime::Now()) {} @@ -51,13 +51,13 @@ class wxXmlResourceDataRecord wxDateTime Time; }; -WX_DECLARE_OBJARRAY(wxXmlResourceDataRecord, wxXmlResourceDataRecords); +WX_DECLARE_EXPORTED_OBJARRAY(wxXmlResourceDataRecord, wxXmlResourceDataRecords); // This class holds XML resources from one or more .xml files // (or derived forms, either binary or zipped -- see manual for // details). -class wxXmlResource : public wxObject +class WXDLLEXPORT wxXmlResource : public wxObject { public: wxXmlResource(); @@ -152,7 +152,7 @@ extern wxXmlResource *wxTheXmlResource; #define XMLID(str_id) wxXmlResource::GetXMLID(str_id) -class wxXmlResourceHandler : public wxObject +class WXDLLEXPORT wxXmlResourceHandler : public wxObject { public: wxXmlResourceHandler(); diff --git a/contrib/utils/wxrcedit/editor.h b/contrib/utils/wxrcedit/editor.h index 56b88e284c..626bdea774 100644 --- a/contrib/utils/wxrcedit/editor.h +++ b/contrib/utils/wxrcedit/editor.h @@ -20,20 +20,20 @@ #include "wx/imaglist.h" #include "wx/listctrl.h" -class wxXmlNode; -class wxTreeCtrl; -class wxScrolledWindow; -class wxSplitterWindow; +class WXDLLEXPORT wxXmlNode; +class WXDLLEXPORT wxTreeCtrl; +class WXDLLEXPORT wxScrolledWindow; +class WXDLLEXPORT wxSplitterWindow; class NodeHandler; -class wxXmlNode; -class wxXmlDocument; +class WXDLLEXPORT wxXmlNode; +class WXDLLEXPORT wxXmlDocument; class EditorTreeCtrl; -class wxTreeCtrl; -class wxListCtrl; -class wxTreeItemId; -class wxImageList; -class wxTreeEvent; -class wxListEvent; +class WXDLLEXPORT wxTreeCtrl; +class WXDLLEXPORT wxListCtrl; +class WXDLLEXPORT wxTreeItemId; +class WXDLLEXPORT wxImageList; +class WXDLLEXPORT wxTreeEvent; +class WXDLLEXPORT wxListEvent; enum ChangeType { diff --git a/contrib/utils/wxrcedit/nodehnd.h b/contrib/utils/wxrcedit/nodehnd.h index fda59e050a..661e360b05 100644 --- a/contrib/utils/wxrcedit/nodehnd.h +++ b/contrib/utils/wxrcedit/nodehnd.h @@ -15,9 +15,9 @@ #define _NODEHND_H_ -class wxXmlNode; -class wxList; -class wxListCtrl; +class WXDLLEXPORT wxXmlNode; +class WXDLLEXPORT wxList; +class WXDLLEXPORT wxListCtrl; class EditorFrame; diff --git a/contrib/utils/wxrcedit/prophnd.h b/contrib/utils/wxrcedit/prophnd.h index 09c2fd0761..b8c1b5665f 100644 --- a/contrib/utils/wxrcedit/prophnd.h +++ b/contrib/utils/wxrcedit/prophnd.h @@ -15,11 +15,11 @@ #define _PROPHND_H_ -class wxXmlNode; -class wxList; -class wxListCtrl; -class wxPanel; -class wxWindow; +class WXDLLEXPORT wxXmlNode; +class WXDLLEXPORT wxList; +class WXDLLEXPORT wxListCtrl; +class WXDLLEXPORT wxPanel; +class WXDLLEXPORT wxWindow; #include "wx/xml/xml.h" #include "wx/dynarray.h" diff --git a/contrib/utils/wxrcedit/treedt.h b/contrib/utils/wxrcedit/treedt.h index 39ef82b300..230e40003f 100644 --- a/contrib/utils/wxrcedit/treedt.h +++ b/contrib/utils/wxrcedit/treedt.h @@ -17,7 +17,7 @@ #include "wx/treectrl.h" -class wxXmlNode; +class WXDLLEXPORT wxXmlNode; class XmlTreeData : public wxTreeItemData { -- 2.45.2