]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/winuniv.cpp
Fixed a bug in DoGetBestSize that would make wxSpinCtrl too tall
[wxWidgets.git] / src / univ / winuniv.cpp
index 4de62140fcde70049e1d6941c4a3e54063871600..2a5b246c932ae2936ea21d8b46829291beb5e3e9 100644 (file)
@@ -211,7 +211,7 @@ const wxBitmap& wxWindow::GetBackgroundBitmap(int *alignment,
 // ----------------------------------------------------------------------------
 
 // the event handlers executed when the window must be repainted
-void wxWindow::OnNcPaint(wxPaintEvent& WXUNUSED(event))
+void wxWindow::OnNcPaint(wxNcPaintEvent& WXUNUSED(event))
 {
     if ( m_renderer )
     {