// Purpose: Generic wxHeaderCtrl implementation
// Author: Vadim Zeitlin
// Created: 2008-12-01
-// RCS-ID: $Id$
// Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
virtual ~wxHeaderCtrl();
+protected:
+ virtual wxSize DoGetBestSize() const;
+
+
private:
// implement base class pure virtuals
virtual void DoSetCount(unsigned int count);
virtual void DoSetColumnsOrder(const wxArrayInt& order);
virtual wxArrayInt DoGetColumnsOrder() const;
- // override wxWindow methods which must be implemented by a new control
- virtual wxSize DoGetBestSize() const;
-
// common part of all ctors
void Init();
// start (if m_colBeingResized is -1) or continue resizing the column
//
- // this generates wxEVT_COMMAND_HEADER_BEGIN_RESIZE/RESIZING events and can
+ // this generates wxEVT_HEADER_BEGIN_RESIZE/RESIZING events and can
// cancel the operation if the user handler decides so
void StartOrContinueResizing(unsigned int col, int xPhysical);