m_winCaptured = FALSE;
m_isShown = TRUE;
-
+ m_isBeingDeleted = FALSE;
+
m_hScrollBar =
m_vScrollBar =
m_borderWidget =
{
wxCHECK_MSG( parent, FALSE, "can't create wxWindow without parent" );
- CreateBase(parent, id, pos, size, style, name);
+ CreateBase(parent, id, pos, size, style, wxDefaultValidator, name);
parent->AddChild(this);
// Destructor
wxWindow::~wxWindow()
{
+ m_isBeingDeleted = TRUE;
+
// Motif-specific actions first
WXWidget wMain = GetMainWidget();
if ( wMain )
wxWidgetHashTable->Put((long) w, win);
+ wxLogDebug("Widget 0x%08x <-> window %p (%s)",
+ w, win, win->GetClassInfo()->GetClassName());
+
return TRUE;
}
switch (xevent->xany.type)
{
case KeyPress:
+ case KeyRelease:
{
char buf[20];