From c0fce877c478ddbf71a1b651c789e5ea00a00144 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:05:30 +0200 Subject: 3.4 --- library/CustomGrid.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'library/CustomGrid.h') 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 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); -- cgit