#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/log.h"
#endif // WX_PRECOMP
#include "wx/hashmap.h"
wxNonOwnedWindow::~wxNonOwnedWindow()
{
- m_isBeingDeleted = true;
+ SendDestroyEvent();
wxRemoveWXWindowAssociation( this ) ;
wxWindowMac::MacSuperChangedPosition() ; // like this only children will be notified
}
-void wxNonOwnedWindow::HandleResizing( double timestampsec, wxRect* rect )
+void wxNonOwnedWindow::HandleResizing( double WXUNUSED(timestampsec), wxRect* rect )
{
wxRect r = *rect ;
// ---------------------------------------------------------------------------
-bool wxNonOwnedWindow::SetShape(const wxRegion& region)
+bool wxNonOwnedWindow::DoSetShape(const wxRegion& region)
{
wxCHECK_MSG( HasFlag(wxFRAME_SHAPED), false,
_T("Shaped windows must be created with the wxFRAME_SHAPED style."));
if ( rgn.IsEmpty() )
return false ;
else
- return SetShape(rgn);
+ return DoSetShape(rgn);
}
return m_nowpeer->SetShape(region);