X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937013e0fd914d4c42f9f5ec98da665986b93dfa..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/src/dfb/window.cpp diff --git a/src/dfb/window.cpp b/src/dfb/window.cpp index d30298757a..cbc67d4777 100644 --- a/src/dfb/window.cpp +++ b/src/dfb/window.cpp @@ -79,7 +79,6 @@ END_EVENT_TABLE() void wxWindowDFB::Init() { m_isShown = true; - m_frozenness = 0; m_tlw = NULL; m_overlays = NULL; } @@ -638,20 +637,10 @@ void wxWindowDFB::Update() 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) @@ -751,9 +740,7 @@ void wxWindowDFB::PaintOverlays(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); @@ -1080,7 +1067,7 @@ wxWindow* wxFindWindowAtPointer(wxPoint& pt) return wxFindWindowAtPoint(pt = wxGetMousePosition()); } -wxWindow* wxFindWindowAtPoint(const wxPoint& pt) +wxWindow* wxFindWindowAtPoint(const wxPoint& WXUNUSED(pt)) { wxFAIL_MSG( "wxFindWindowAtPoint not implemented" ); return NULL;