added wxDbGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,7 +33,7 @@ WX_DECLARE_EXPORTED_OBJARRAY(GenericKey,keyarray);
|
||||
|
||||
static const int wxUSE_QUERY = -1;
|
||||
|
||||
class WXDLLIMPEXP_ODBC wxDbGridColInfoBase
|
||||
class WXDLLIMPEXP_DBGRID wxDbGridColInfoBase
|
||||
{
|
||||
public:
|
||||
//Default ctor
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class WXDLLIMPEXP_ODBC wxDbGridColInfo
|
||||
class WXDLLIMPEXP_DBGRID wxDbGridColInfo
|
||||
{
|
||||
public:
|
||||
wxDbGridColInfo(int colNo,
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class WXDLLIMPEXP_ODBC wxDbGridCellAttrProvider : public wxGridCellAttrProvider
|
||||
class WXDLLIMPEXP_DBGRID wxDbGridCellAttrProvider : public wxGridCellAttrProvider
|
||||
{
|
||||
public:
|
||||
wxDbGridCellAttrProvider();
|
||||
@@ -114,7 +114,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
class WXDLLIMPEXP_ODBC wxDbGridTableBase : public wxGridTableBase
|
||||
class WXDLLIMPEXP_DBGRID wxDbGridTableBase : public wxGridTableBase
|
||||
{
|
||||
public:
|
||||
wxDbGridTableBase(wxDbTable *tab, wxDbGridColInfo *ColInfo,
|
||||
|
@@ -401,6 +401,7 @@ typedef int wxWindowID;
|
||||
#define WXMAKINGDLL_CORE
|
||||
#define WXMAKINGDLL_ADV
|
||||
#define WXMAKINGDLL_ODBC
|
||||
#define WXMAKINGDLL_DBGRID
|
||||
#define WXMAKINGDLL_HTML
|
||||
#define WXMAKINGDLL_XML
|
||||
#endif // WXMAKINGDLL
|
||||
@@ -462,6 +463,17 @@ typedef int wxWindowID;
|
||||
#define WXDLLIMPEXP_DATA_ODBC(type) type
|
||||
#endif
|
||||
|
||||
#ifdef WXMAKINGDLL_DBGRID
|
||||
#define WXDLLIMPEXP_DBGRID WXEXPORT
|
||||
#define WXDLLIMPEXP_DATA_DBGRID(type) WXEXPORT type
|
||||
#elif defined(WXUSINGDLL)
|
||||
#define WXDLLIMPEXP_DBGRID WXIMPORT
|
||||
#define WXDLLIMPEXP_DATA_DBGRID(type) WXIMPORT type
|
||||
#else // not making nor using DLL
|
||||
#define WXDLLIMPEXP_DBGRID
|
||||
#define WXDLLIMPEXP_DATA_DBGRID(type) type
|
||||
#endif
|
||||
|
||||
#ifdef WXMAKINGDLL_HTML
|
||||
#define WXDLLIMPEXP_HTML WXEXPORT
|
||||
#define WXDLLIMPEXP_DATA_HTML(type) WXEXPORT type
|
||||
|
Reference in New Issue
Block a user