with the native control. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
54 lines
1.5 KiB
C++
54 lines
1.5 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: treebase.cpp
|
|
// Purpose: Base wxTreeCtrl classes
|
|
// Author: Julian Smart
|
|
// Created: 01/02/97
|
|
// Modified:
|
|
// Id: $Id$
|
|
// Copyright: (c) 1998 Robert Roebling, Julian Smart et al
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// =============================================================================
|
|
// declarations
|
|
// =============================================================================
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// headers
|
|
// -----------------------------------------------------------------------------
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation "treebase.h"
|
|
#endif
|
|
|
|
// For compilers that support precompilation, includes "wx.h".
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#include "wx/treebase.h"
|
|
#include "wx/settings.h"
|
|
#include "wx/log.h"
|
|
#include "wx/intl.h"
|
|
#include "wx/dynarray.h"
|
|
#include "wx/arrimpl.cpp"
|
|
#include "wx/dcclient.h"
|
|
#include "wx/msgdlg.h"
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Tree event
|
|
// ----------------------------------------------------------------------------
|
|
|
|
IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent)
|
|
|
|
wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
|
|
: wxNotifyEvent(commandType, id)
|
|
{
|
|
m_code = 0;
|
|
m_itemOld = 0;
|
|
}
|
|
|
|
|