* Wraps up an IDispatch pointer and invocation; does variant conversion.
*/
-class wxAutomationObject: public wxObject
+class WXDLLEXPORT wxAutomationObject: public wxObject
{
public:
wxAutomationObject(WXIDISPATCH* dispatchPtr = NULL);
// wrapper around BSTR type (by Vadim Zeitlin)
-class BasicString
+class WXDLLEXPORT BasicString
{
public:
// ctors & dtor
// do if we really want them)
// ----------------------------------------------------------------------------
-class wxDataObject
+class WXDLLEXPORT wxDataObject
{
public:
// all data formats (values are the same as in windows.h, do not change!)
// ----------------------------------------------------------------------------
// wxTextDataObject is a specialization of wxDataObject for text data
// ----------------------------------------------------------------------------
-class wxTextDataObject : public wxDataObject
+class WXDLLEXPORT wxTextDataObject : public wxDataObject
{
public:
// ctors
// wxDropSource is used to start the drag-&-drop operation on associated
// wxDataObject object. It's responsible for giving UI feedback while dragging.
// ----------------------------------------------------------------------------
-class wxDropSource
+class WXDLLEXPORT wxDropSource
{
public:
// ctors: if you use default ctor you must call SetData() later!
// ------------------------------------------------------------------
// uses RPC functions to create/convert Universally Unique Identifiers
-class Uuid
+class WXDLLEXPORT Uuid
{
private:
UUID m_uuid;
const char *CForm() const { return m_pszCForm; }
};
-#endif //_WX_OLEUUID_H
\ No newline at end of file
+#endif //_WX_OLEUUID_H
#include <wx/db.h> // Required in the file which will get the data source connection
#include <wx/dbtable.h> // Has the wxTable object from which all data objects will inherit their data table functionality
-extern DbList *PtrBegDbList; // from db.cpp, used in getting back error results from db connections
+extern DbList* WXDLLEXPORT PtrBegDbList; // from db.cpp, used in getting back error results from db connections
#include "dbtest.h" // Header file for this demonstration program
#include "listdb.h" // Code to support the "Lookup" button on the editor dialog