summaryrefslogtreecommitdiff
path: root/library/CustomGrid.h
diff options
context:
space:
mode:
Diffstat (limited to 'library/CustomGrid.h')
-rw-r--r--library/CustomGrid.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/library/CustomGrid.h b/library/CustomGrid.h
index 2b78a6c3..7a0d1b10 100644
--- a/library/CustomGrid.h
+++ b/library/CustomGrid.h
@@ -1,3 +1,9 @@
+// **************************************************************************
+// * This file is part of the FreeFileSync project. It is distributed under *
+// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
+// * Copyright (C) 2008-2010 ZenJu (zhnmju123 AT gmx.de) *
+// **************************************************************************
+//
#ifndef CUSTOMGRID_H_INCLUDED
#define CUSTOMGRID_H_INCLUDED
@@ -67,7 +73,7 @@ public:
enum SortDirection
{
ASCENDING,
- DESCENDING,
+ DESCENDING
};
typedef std::pair<SortColumn, SortDirection> SortMarker;
@@ -111,6 +117,7 @@ class IconUpdater : private wxEvtHandler //update file icons periodically: use S
{
public:
IconUpdater(CustomGridLeft* leftGrid, CustomGridRight* rightGrid);
+ ~IconUpdater(); //non-inline destructor for std::auto_ptr to work with forward declaration
private:
void loadIconsAsynchronously(wxEvent& event); //loads all (not yet) drawn icons
@@ -240,6 +247,8 @@ public:
long style = wxWANTS_CHARS,
const wxString& name = wxGridNameStr);
+ ~CustomGridMiddle(); //non-inline destructor for std::auto_ptr to work with forward declaration
+
virtual bool CreateGrid(int numRows, int numCols, wxGrid::wxGridSelectionModes selmode = wxGrid::wxGridSelectCells);
void enableSyncPreview(bool value);
bgstack15