]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/nonownedwnd.cpp
In wxComboCtrlBase::OnTextCtrlEvent(), make sure to call event.StopPropagation()...
[wxWidgets.git] / src / dfb / nonownedwnd.cpp
index c455d5e4ffa1c9a9b3ff8082576279d64fb8280a..2c4809aee110bb586a6f83a19478adba21a5dca2 100644 (file)
@@ -301,16 +301,12 @@ void wxNonOwnedWindow::HandleQueuedPaintRequests()
     // blit the entire back buffer to front soon
     m_isPainting = true;
 
-#ifdef __WXDEBUG__
     int requestsCount = 0;
-#endif
 
     wxRect request;
     while ( m_toPaint->GetNext(request) )
     {
-#ifdef __WXDEBUG__
         requestsCount++;
-#endif
         wxRect clipped(request);
         clipped.Intersect(winRect);
         if ( clipped.IsEmpty() )