added font and flags properties to wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,6 +49,9 @@ void PropEditCtrl::OnButtonClear(wxCommandEvent& event)
|
||||
|
||||
void PropEditCtrl::BeginEdit(const wxRect& rect, wxTreeItemId ti)
|
||||
{
|
||||
m_PropInfo = &(((PETreeData*)m_TreeCtrl->GetItemData(ti))->PropInfo);
|
||||
m_TreeItem = ti;
|
||||
|
||||
m_CanSave = FALSE;
|
||||
if (!m_Created)
|
||||
{
|
||||
@@ -68,9 +71,6 @@ void PropEditCtrl::BeginEdit(const wxRect& rect, wxTreeItemId ti)
|
||||
|
||||
m_TheCtrl->SetFocus();
|
||||
|
||||
m_PropInfo = &(((PETreeData*)m_TreeCtrl->GetItemData(ti))->PropInfo);
|
||||
m_TreeItem = ti;
|
||||
|
||||
SetSize(rect.x, rect.y, rect.width, rect.height);
|
||||
Show(TRUE);
|
||||
ReadValue();
|
||||
|
Reference in New Issue
Block a user