git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43522
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+void wxWindowBase::SendDestroyEvent()
+{
+ wxWindowDestroyEvent event;
+ event.SetEventObject(this);
+ event.SetId(GetId());
+ GetEventHandler()->ProcessEvent(event);
+}
+
bool wxWindowBase::Destroy()
{
delete this;
bool wxWindowBase::Destroy()
{
delete this;
#endif // wxUSE_HELP
// ----------------------------------------------------------------------------
#endif // wxUSE_HELP
// ----------------------------------------------------------------------------
-// tooltipsroot.Replace("\\", "/");
// ----------------------------------------------------------------------------
#if wxUSE_TOOLTIPS
// ----------------------------------------------------------------------------
#if wxUSE_TOOLTIPS
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------
-// do Update UI processing for child controls
// ----------------------------------------------------------------------------
void wxWindowBase::UpdateWindowUI(long flags)
// ----------------------------------------------------------------------------
void wxWindowBase::UpdateWindowUI(long flags)
Show(event.GetShown());
}
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
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// dialog units translations
// ----------------------------------------------------------------------------
#include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxWindowList)
#include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxWindowList)
void wxWindowListNode::DeleteData()
{
delete (wxWindow *)GetData();
}
void wxWindowListNode::DeleteData()
{
delete (wxWindow *)GetData();
}
+#endif // wxUSE_STL/!wxUSE_STL
// ----------------------------------------------------------------------------
// borders
// ----------------------------------------------------------------------------
// borders
-void wxWindowBase::SendDestroyEvent()
-{
- wxWindowDestroyEvent event;
- event.SetEventObject(this);
- event.SetId(GetId());
- GetEventHandler()->ProcessEvent(event);
-}
-
// ----------------------------------------------------------------------------
// event processing
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// event processing
// ----------------------------------------------------------------------------