]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/grid.h
No real changes, just refactoring.
[wxWidgets.git] / include / wx / generic / grid.h
index 22c869cd7ad1b0bfb0626afe9ae21a67ab9af41d..608f31e6353d62224fc2423c8c9f5dc90c0f3610 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef __WXGRID_H__
 #define __WXGRID_H__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "grid.h"
 #endif
 
@@ -937,7 +937,8 @@ private:
 // A 2-dimensional array of strings for data values
 //
 
-WX_DECLARE_EXPORTED_OBJARRAY(wxArrayString, wxGridStringArray);
+WX_DECLARE_OBJARRAY_WITH_DECL(wxArrayString, wxGridStringArray,
+                              class WXDLLIMPEXP_ADV);
 
 
 
@@ -1051,7 +1052,8 @@ extern WXDLLIMPEXP_ADV wxRect           wxGridNoCellRect;
 
 // An array of cell coords...
 //
-WX_DECLARE_EXPORTED_OBJARRAY(wxGridCellCoords, wxGridCellCoordsArray);
+WX_DECLARE_OBJARRAY_WITH_DECL(wxGridCellCoords, wxGridCellCoordsArray,
+                              class WXDLLIMPEXP_ADV);
 
 // ----------------------------------------------------------------------------
 // wxGrid
@@ -1060,12 +1062,16 @@ WX_DECLARE_EXPORTED_OBJARRAY(wxGridCellCoords, wxGridCellCoordsArray);
 class WXDLLIMPEXP_ADV wxGrid : public wxScrolledWindow
 {
 public:
-    wxGrid()
-        {
-            Create();
-        }
+    wxGrid() ;
 
-    wxGrid( wxWindow *parent,
+        wxGrid( wxWindow *parent,
+            wxWindowID id,
+            const wxPoint& pos = wxDefaultPosition,
+            const wxSize& size = wxDefaultSize,
+            long style = wxWANTS_CHARS,
+            const wxString& name = wxPanelNameStr );
+
+    bool Create( wxWindow *parent,
             wxWindowID id,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,