DragonNest/Common/MFCUtility/XTCustomPropertyGridItem.cpp
Cussrro 47f7895977 Revert "修复编码问题"
This reverts commit 9e69c01767.
2024-12-21 10:04:04 +08:00

24 lines
No EOL
781 B
C++

#include "StdAfx.h"
#include "XTCustomPropertyGridItem.h"
#include "PropertyGrid/XTPPropertyGridInplaceEdit.h"
#include "PropertyGrid/XTPPropertyGridInplaceButton.h"
#include "PropertyGrid/XTPPropertyGridInplaceList.h"
#include "PropertyGrid/XTPPropertyGridItem.h"
CXTCustomPropertyGridItem::CXTCustomPropertyGridItem(const CString& strCaption, LPCTSTR strValue, CString* pBindString)
: CXTPPropertyGridItem( strCaption, strValue, pBindString )
{
}
CXTCustomPropertyGridItem::CXTCustomPropertyGridItem(UINT nID, LPCTSTR strValue, CString* pBindString)
: CXTPPropertyGridItem( nID, strValue, pBindString )
{
}
void CXTCustomPropertyGridItem::OnInplaceButtonDown()
{
m_pGrid->GetParent()->GetParent()->SendMessage( UM_PROPERTYGRID_ONCUSTOM_DIALOG, (WPARAM)0, (LPARAM)this );
}