projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed #pragma interface because it results in link problems when building wxBase...
[wxWidgets.git]
/
include
/
wx
/
generic
/
gridsel.h
diff --git
a/include/wx/generic/gridsel.h
b/include/wx/generic/gridsel.h
index c44819a419100464ee7d7f1fd2d3c7b9d22c6434..906fb1199640e474003c0d4f26d8c6e932f9c483 100644
(file)
--- a/
include/wx/generic/gridsel.h
+++ b/
include/wx/generic/gridsel.h
@@
-11,12
+11,12
@@
#include "wx/defs.h"
#include "wx/defs.h"
-#if
defined(wxUSE_NEW_GRID) && (wxUSE_NEW_GRID)
+#if
wxUSE_GRID
#ifndef __WXGRIDSEL_H__
#define __WXGRIDSEL_H__
#ifndef __WXGRIDSEL_H__
#define __WXGRIDSEL_H__
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "gridsel.h"
#endif
#pragma interface "gridsel.h"
#endif
@@
-81,7
+81,12
@@
private:
wxGrid *m_grid;
wxGrid::wxGridSelectionModes m_selectionMode;
wxGrid *m_grid;
wxGrid::wxGridSelectionModes m_selectionMode;
+
+ friend class WXDLLEXPORT wxGrid;
+
+ DECLARE_NO_COPY_CLASS(wxGridSelection)
};
#endif // #ifdef __WXGRIDSEL_H__
};
#endif // #ifdef __WXGRIDSEL_H__
-#endif // #ifndef wxUSE_NEW_GRID
+#endif // #ifndef wxUSE_GRID
+