void wxWindowDFB::Init()
{
m_isShown = true;
- m_frozenness = 0;
m_tlw = NULL;
m_overlays = NULL;
}
GetParent()->Update();
}
-void wxWindowDFB::Freeze()
+void wxWindowDFB::DoThaw()
{
- m_frozenness++;
-}
-
-void wxWindowDFB::Thaw()
-{
- wxASSERT_MSG( IsFrozen(), "Thaw() without matching Freeze()" );
-
- if ( --m_frozenness == 0 )
- {
- if ( IsShown() )
- DoRefreshWindow();
- }
+ if ( IsShown() )
+ DoRefreshWindow();
}
void wxWindowDFB::PaintWindow(const wxRect& rect)
for ( wxDfbOverlaysList::const_iterator i = m_overlays->begin();
i != m_overlays->end(); ++i )
{
- // FIXME: the cast is necessary for STL build where the iterator
- // (incorrectly) returns void* and not wxOverlayImpl*
- wxOverlayImpl *overlay = (wxOverlayImpl*) *i;
+ const wxOverlayImpl * const overlay = *i;
wxRect orectOrig(overlay->GetRect());
wxRect orect(orectOrig);
return wxFindWindowAtPoint(pt = wxGetMousePosition());
}
-wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
+wxWindow* wxFindWindowAtPoint(const wxPoint& WXUNUSED(pt))
{
wxFAIL_MSG( "wxFindWindowAtPoint not implemented" );
return NULL;