no changes, just some minor modifications of comments and moved one function around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
670048b2f0
commit
602a2e02f9
@ -351,6 +351,14 @@ wxWindowBase::~wxWindowBase()
|
||||
#endif
|
||||
}
|
||||
|
||||
void wxWindowBase::SendDestroyEvent()
|
||||
{
|
||||
wxWindowDestroyEvent event;
|
||||
event.SetEventObject(this);
|
||||
event.SetId(GetId());
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
}
|
||||
|
||||
bool wxWindowBase::Destroy()
|
||||
{
|
||||
delete this;
|
||||
@ -1516,7 +1524,7 @@ void wxWindowBase::OnHelp(wxHelpEvent& event)
|
||||
#endif // wxUSE_HELP
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// tooltipsroot.Replace("\\", "/");
|
||||
// tooltips
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_TOOLTIPS
|
||||
@ -2000,7 +2008,7 @@ void wxWindowBase::AdjustForParentClientOrigin(int& x, int& y, int sizeFlags) co
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// do Update UI processing for child controls
|
||||
// Update UI processing
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxWindowBase::UpdateWindowUI(long flags)
|
||||
@ -2035,23 +2043,6 @@ void wxWindowBase::DoUpdateWindowUI(wxUpdateUIEvent& event)
|
||||
Show(event.GetShown());
|
||||
}
|
||||
|
||||
#if 0
|
||||
// call internal idle recursively
|
||||
// may be obsolete (wait until OnIdle scheme stabilises)
|
||||
void wxWindowBase::ProcessInternalIdle()
|
||||
{
|
||||
OnInternalIdle();
|
||||
|
||||
wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
|
||||
while (node)
|
||||
{
|
||||
wxWindow *child = node->GetData();
|
||||
child->ProcessInternalIdle();
|
||||
node = node->GetNext();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// dialog units translations
|
||||
// ----------------------------------------------------------------------------
|
||||
@ -2275,14 +2266,14 @@ wxAccessible* wxWindowBase::CreateAccessible()
|
||||
#include "wx/listimpl.cpp"
|
||||
WX_DEFINE_LIST(wxWindowList)
|
||||
|
||||
#else
|
||||
#else // !wxUSE_STL
|
||||
|
||||
void wxWindowListNode::DeleteData()
|
||||
{
|
||||
delete (wxWindow *)GetData();
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // wxUSE_STL/!wxUSE_STL
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// borders
|
||||
@ -2451,14 +2442,6 @@ bool wxWindowBase::UnregisterHotKey(int WXUNUSED(hotkeyId))
|
||||
|
||||
#endif // wxUSE_HOTKEY
|
||||
|
||||
void wxWindowBase::SendDestroyEvent()
|
||||
{
|
||||
wxWindowDestroyEvent event;
|
||||
event.SetEventObject(this);
|
||||
event.SetId(GetId());
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// event processing
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user