]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/calctrlg.cpp
New eventb based Drag interface for wxDataViewCtrl
[wxWidgets.git] / src / generic / calctrlg.cpp
index 40b9f06cd3405175160f0f7615e14f30e9bd5636..98b15213c55b4054297515ebc903519c01383eb7 100644 (file)
@@ -1060,7 +1060,7 @@ void wxGenericCalendarCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
                 unsigned int day = date.GetDay();
                 wxString dayStr = wxString::Format(_T("%u"), day);
                 wxCoord width;
-                dc.GetTextExtent(dayStr, &width, (wxCoord *)NULL);
+                dc.GetTextExtent(dayStr, &width, NULL);
 
                 bool changedColours = false,
                      changedFont = false;