Fixed to use wxNcPaintEvent types where needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -238,7 +238,7 @@ void wxTopLevelWindow::DoSetClientSize(int width, int height)
|
||||
wxTopLevelWindowNative::DoSetClientSize(width, height);
|
||||
}
|
||||
|
||||
void wxTopLevelWindow::OnNcPaint(wxPaintEvent& event)
|
||||
void wxTopLevelWindow::OnNcPaint(wxNcPaintEvent& event)
|
||||
{
|
||||
if ( !ms_drawDecorations || !m_renderer )
|
||||
event.Skip();
|
||||
|
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user