summaryrefslogtreecommitdiff
path: root/library/CustomGrid.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:30 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:30 +0200
commitc0fce877c478ddbf71a1b651c789e5ea00a00144 (patch)
treede01b0ae8fd296bd24fbca54a80f2f0ba071d461 /library/CustomGrid.h
parent3.3 (diff)
downloadFreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.gz
FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.bz2
FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.zip
3.4
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