]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/calctrl.cpp
1. added wfstream.cpp to wxBase (needed by filesys.cpp)
[wxWidgets.git] / src / generic / calctrl.cpp
index dca2a4e76da8f3c22c3619f55f79f48863a147f4..df8e2d745d37951bc5a4d7ec9cade0538adfe6e6 100644 (file)
@@ -288,12 +288,12 @@ void wxCalendarCtrl::ShowCurrentControls()
 
 wxControl *wxCalendarCtrl::GetMonthControl() const
 {
 
 wxControl *wxCalendarCtrl::GetMonthControl() const
 {
-    return AllowMonthChange() ? m_comboMonth : m_staticMonth;
+    return AllowMonthChange() ? (wxControl *)m_comboMonth : (wxControl *)m_staticMonth;
 }
 
 wxControl *wxCalendarCtrl::GetYearControl() const
 {
 }
 
 wxControl *wxCalendarCtrl::GetYearControl() const
 {
-    return AllowYearChange() ? m_spinYear : m_staticYear;
+    return AllowYearChange() ? (wxControl *)m_spinYear : (wxControl *)m_staticYear;
 }
 
 void wxCalendarCtrl::EnableYearChange(bool enable)
 }
 
 void wxCalendarCtrl::EnableYearChange(bool enable)