]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/datectrl.cpp
try to clear the device/logical unit fog; remove unused and unsupported (an assertion...
[wxWidgets.git] / src / msw / datectrl.cpp
index 0b291ecdd41b8a4bda6fe9f3fdf4939fd1925f8a..1009211b4d9dc777eca784dc1838d88b11011dbc 100644 (file)
@@ -124,7 +124,7 @@ WXDWORD wxDatePickerCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
 
 wxSize wxDatePickerCtrl::DoGetBestSize() const
 {
-    wxClientDC dc(wx_const_cast(wxDatePickerCtrl *, this));
+    wxClientDC dc(const_cast<wxDatePickerCtrl *>(this));
 
     // we can't use FormatDate() here as the CRT doesn't always use the same
     // format as the date picker control