Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -515,7 +515,7 @@ void MyCanvas::DrawDefault(wxDC& dc)
|
||||
// mark the origin
|
||||
dc.DrawCircle(0, 0, 10);
|
||||
|
||||
#if !wxMAC_USE_CORE_GRAPHICS
|
||||
#if !defined(wxMAC_USE_CORE_GRAPHICS) || !wxMAC_USE_CORE_GRAPHICS
|
||||
// GetPixel and FloodFill not supported by Mac OS X CoreGraphics
|
||||
// (FloodFill uses Blit from a non-wxMemoryDC)
|
||||
//flood fill using brush, starting at 1,1 and replacing whatever colour we find there
|
||||
@@ -1143,6 +1143,9 @@ void MyCanvas::OnPaint(wxPaintEvent &WXUNUSED(event))
|
||||
case Show_Gradient:
|
||||
DrawGradients(dc);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -491,7 +491,7 @@ void ComboboxWidgetsPage::OnUpdateUICurText(wxUpdateUIEvent& event)
|
||||
void ComboboxWidgetsPage::OnUpdateUIInsertionPointText(wxUpdateUIEvent& event)
|
||||
{
|
||||
if (m_combobox)
|
||||
event.SetText( wxString::Format(_T("%d"), m_combobox->GetInsertionPoint()) );
|
||||
event.SetText( wxString::Format(_T("%ld"), m_combobox->GetInsertionPoint()) );
|
||||
}
|
||||
|
||||
void ComboboxWidgetsPage::OnUpdateUIResetButton(wxUpdateUIEvent& event)
|
||||
|
Reference in New Issue
Block a user